pint.models.parameter
Timing model parameters encapsulated as objects.
Defines Parameter class for timing model parameters. These objects keep track of values, uncertainties, and units. They can hold a variety of types, both numeric - python floats and numpy longdoubles - and other - string, angles, times.
These classes also contain code to allow them to read and write values
in both exact and human-readable forms, as well as detecting when they
have occurred in .par
files.
One major complication is that timing models can often have variable
numbers of parameters: for example the DMX
family of parameters
can have one parameter for each group of TOAs in the input, allowing
potentially very many. These are handled in two separate ways, as “prefix
parameters” (pint.models.parameter.prefixParameter
) and
“mask parameters” (pint.models.parameter.maskParameter
)
depending on how they occur in the .par
and .tim
files.
See Supported Parameters for an overview, including a table of all the parameters PINT understands.
Classes
|
Parameter in angle units. |
|
Parameters for MJD quantities. |
|
A single timing model parameter. |
|
Boolean-valued parameter. |
|
Parameter with float or long double value. |
|
Parameter defined as a read-only function operating on other parameters that returns a float or long double value. |
|
Integer parameter values. |
|
Parameter that applies to a subset of TOAs. |
|
Parameter type for parameters that need two input floats. |
|
Families of parameters identified by a prefix like |
|
String-valued parameter. |