Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Oct 12, 2023
1 parent f4e1c75 commit 1628e1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pint/models/timing_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ def params(self):

@property_exists
def free_params(self):
"""List of all the free parameters in the timing model. Can be set to change which are free.
"""List of all the free parameters in the timing model.
Can be set to change which are free.
These are ordered as ``self.params`` does.
Expand All @@ -607,8 +608,6 @@ def free_params(self):

@free_params.setter
def free_params(self, params):
"""List of free parameters, i.e., the parameters whose `frozen`
attribute is set to False."""
params_true = {self.match_param_aliases(p) for p in params}
for p in self.params:
getattr(self, p).frozen = p not in params_true
Expand Down

0 comments on commit 1628e1f

Please sign in to comment.