Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Oct 12, 2023
1 parent e55ff96 commit f4e1c75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pint/models/timing_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,8 @@ 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 All @@ -618,6 +620,9 @@ def free_params(self, params):

@property_exists
def fittable_params(self):
"""List of parameters that are fittable, i.e., the parameters
which have a derivative implemented. These derivatives are usually
accessed via the `d_delay_d_param` and `d_phase_d_param` methods."""
return [
p
for p in self.params
Expand Down

0 comments on commit f4e1c75

Please sign in to comment.