pint.derived_quantities.dispersion_slope
- pint.derived_quantities.dispersion_slope(dm: Unit('dmu'))[source]
Compute the dispersion slope.
This is equal to DMconst * DM. See https://nanograv-pint.readthedocs.io/en/latest/explanation.html#dispersion-measure for an explanation on why this is relevant.
- Parameters:
dm (astropy.units.Quantity) – Dispersion measure
- Returns:
dsl – Dispersion slope
- Return type:
- Raises:
astropy.units.UnitsError – If the input data are not appropriate quantities
TypeError – If the input data are not quantities