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:

  1. TZRMJD and TZRFRQ

  2. DMJUMPs (the wideband kind)

  3. FD parameters and FD jumps

  4. EQUADs and ECORRs.

  5. GP Red noise and GP DM noise parameters

  6. Pair parameters such as Wave and IFunc parameters

  7. Variable-index chromatic delay parameters

Parameters: