pint.utils.pldmnoise_from_dmwavex

pint.utils.pldmnoise_from_dmwavex(model: TimingModel, ignore_fyr: bool = False) TimingModel[source]

Convert a DMWaveX representation of red noise to a PLDMNoise representation. This is done by minimizing a likelihood function that acts on the DMWaveX amplitudes over the powerlaw spectral parameters.

Parameters:

model (pint.models.timing_model.TimingModel) – The timing model with a DMWaveX component.

Returns:

The timing model with a converted PLDMNoise component.

Return type:

pint.models.timing_model.TimingModel