pint.pint_matrix.CovarianceMatrixMaker

class pint.pint_matrix.CovarianceMatrixMaker(covariance_quantity, quantity_unit)[source]

Bases: object

Class for pint design matrix maker class.

Parameters:
  • covariance_quantity (str) – The covariance quantity name. It will be used to search for the functions. For instance, if derivative_quantity = ‘phase’, it will search for the ‘d_phase_d_param’ function in the model.

  • quantity_unit (astropy.units.unit object) – The unit of the derivative quantity.

Methods

__call__(data, model)[source]

A general method to make design matrix.

Parameters:
  • data (pint.toa.TOAs object or other data object) – The data point where the derivatives are evaluated.

  • model (pint.models.TimingModel object) – The model that provides the derivatives.