parameters.py 207 B

12345678910111213
  1. from dataclasses import dataclass
  2. @dataclass
  3. class ModelParams:
  4. R: float
  5. kappa: float
  6. epsilon: float
  7. epsilon0: float
  8. @property
  9. def kappaR(self):
  10. return self.kappa * self.R