pint.fits_utils.read_fits_event_mjds_tuples

pint.fits_utils.read_fits_event_mjds_tuples(event_hdu: BinTableHDU, timecolumn: str = 'TIME') ndarray[source]

Read a set of MJDs from a FITS HDU, with proper conversion of times to MJD

The FITS time format is defined here: https://heasarc.gsfc.nasa.gov/docs/journal/timing3.html

Parameters:
  • event_hdu (fits.hdu.BinTableHDU) –

  • timecolumn (str, optional) –

Returns:

mjds – astropy Time() objects.

Return type:

MJDs returned are tuples of two doubles (jd1, jd2), as used by