pint.models.tcb_conversion.convert_tcb_tdb
- pint.models.tcb_conversion.convert_tcb_tdb(model: TimingModel, backwards: bool = False) None[source]
This function performs a partial conversion of a model specified in TCB to TDB. While this should be sufficient as a starting point, the resulting parameters are only approximate and the model should be re-fit.
This is roughly based on the transform plugin of tempo2, but uses a different algorithm and does a more complete conversion.
The following parameters are NOT converted although they are in fact affected by the TCB to TDB conversion:
TZRMJD and TZRFRQ
DMJUMPs (the wideband kind)
FD parameters and FD jumps
EQUADs and ECORRs.
GP Red noise and GP DM noise parameters
Pair parameters such as Wave and IFunc parameters
Variable-index chromatic delay parameters
- Parameters:
model (pint.models.timing_model.TimingModel) – Timing model to be converted.
backwards (bool) – Whether to do TDB to TCB conversion. The default is TCB to TDB.