pint.binaryconvert.convert_binary
- pint.binaryconvert.convert_binary(model, output, NHARMS=3, useSTIGMA=False, KOM=<Quantity 0. deg>)[source]
Convert between binary models
Input models can be from
BinaryDD,BinaryDDS,BinaryDDGR,BinaryBT,BinaryDDK,BinaryELL1,BinaryELL1H,BinaryELL1k,BinaryDDHOutput models can be from
BinaryDD,BinaryDDS,BinaryBT,BinaryDDK,BinaryELL1,BinaryELL1H,BinaryELL1k,BinaryDDH- Parameters:
model (pint.models.timing_model.TimingModel) –
output (str) – Output model type
NHARMS (int, optional) – Number of harmonics (
ELL1Honly)useSTIGMA (bool, optional) – Whether to use STIGMA or H4 (
ELL1Honly)KOM (astropy.units.Quantity) – Longitude of the ascending node (
DDKonly)
- Returns:
outmodel
- Return type:
Notes
Default value in pint for NHARMS is 7, while in tempo2 it is 4.