pint.pint_matrix.TOADesignMatrixMaker

class pint.pint_matrix.TOADesignMatrixMaker(derivative_quantity=None, quantity_unit=None)[source]

Bases: PhaseDesignMatrixMaker

A simple design matrix maker subclassed from the PhaseDesignMatrixMaker.

It changes the derivative quantity from phase to TOAs.

Methods

__call__(data, model, derivative_params, offset=True, offset_padding=1.0)[source]

Create the phase 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.

  • derivative_params (list) – The parameter list for the derivatives ‘d_quantity_d_param’.

  • offset (bool, optional) – Add the the implicit offset to the beginning of design matrix. Default is True. This option will be ignored if a PhaseOffset component is present in the timing model.

  • offset_padding (float, optional) – if including offset, the value for padding. Default is 1.0