pint.utils.pldmnoise_from_dmwavex

pint.utils.pldmnoise_from_dmwavex(model, ignore_fyr=False)[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