pint.toa.merge_TOAs

pint.toa.merge_TOAs(TOAs_list, strict=False)[source]

Merge a list of TOAs instances and return a new combined TOAs instance

In order for a merge to work, each TOAs instance needs to have been created using the same Solar System Ephemeris (EPHEM), the same reference timescale (i.e. CLOCK), and the same value of .planets (i.e. whether planetary PosVel columns are in the tables or not).

If pulse_number, [ssb_obs_pos, ssb_obs_vel, obs_sun_pos], [tdb, tdbld] columns are present in some but not all data try to put them in unless strict=True

Parameters:
  • TOAs_list (list of TOAs instances) –

  • strict (bool, optional) – If strict, do not add in missing columns to facilitate merging

Returns:

A new TOAs instance with all the combined TOAs

Return type:

pint.toa.TOAs