pint.utils.translate_wave_to_wavex

pint.utils.translate_wave_to_wavex(model)[source]

Go from a Wave model to a WaveX model

WaveX frequencies get calculated based on the Wave model WAVEOM parameter and the number of WAVE parameters.

WXFREQ_000k = [WAVEOM * (k+1)] / [2 * pi]

WaveX amplitudes are taken from the WAVE pair parameters

Paramters

modelpint.models.timing_model.TimingModel

TimingModel containing a Wave model to be converted to a WaveX model

rtype:

New timing model with converted WaveX model included