DysmalParameter
- class dysmalpy.parameters.DysmalParameter(name='', description='', default=None, unit=None, getter=None, setter=None, fixed=False, tied=False, min=None, max=None, bounds=None, prior=None)[source]
Bases:
Parameter
New parameter class for dysmalpy based on
Parameter
The main change is adding a prior as part of the constraints
Attributes Summary
Types of constraints a parameter can have.
Attributes Documentation
- constraints = ('fixed', 'tied', 'bounds', 'prior')
Types of constraints a parameter can have. Excludes ‘min’ and ‘max’ which are just aliases for the first and second elements of the ‘bounds’ constraint (which is represented as a 2-tuple). ‘prior’ and ‘posterior’ are available for use by user fitters but are not used by any built-in fitters as of this writing.