pint.fermi_toas.load_Fermi_TOAs

pint.fermi_toas.load_Fermi_TOAs(ft1name, weightcolumn=None, targetcoord=None, logeref=4.1, logesig=0.5, minweight=0.0, minmjd=-inf, maxmjd=inf, fermiobs='Fermi', errors=<Quantity 1. us>)[source]

Read photon event times out of a Fermi FT1 file and return a list of PINT TOA objects.

Correctly handles raw FT1 files, or ones processed with gtbary to have barycentered or geocentered TOAs.

Parameters:
  • weightcolumn (str) – Specifies the FITS column name to read the photon weights from. The special value ‘CALC’ causes the weights to be computed empirically as in Philippe Bruel’s SearchPulsation code.

  • targetcoord (astropy.coordinates.SkyCoord) – Source coordinate for weight computation if weightcolumn==’CALC’

  • logeref (float) – Parameter for the weight computation if weightcolumn==’CALC’

  • logesig (float) – Parameter for the weight computation if weightcolumn==’CALC’

  • minweight (float) – If weights are loaded or computed, exclude events with smaller weights.

  • minmjd (float) – Events with earlier MJDs are excluded.

  • maxmjd (float) – Events with later MJDs are excluded.

  • fermiobs (str) – The default observatory name is Fermi, and must have already been registered. The user can specify another name

  • errors (astropy.units.Quantity or float, optional) – The uncertainty on the TOA; if it’s a float it is assumed to be in microseconds

Returns:

toalist – A list of TOA objects corresponding to the Fermi events.

Return type:

list

Note

This list should be converted into a TOAs object with pint.toa.get_TOAs_list() for most operations

See also

get_Fermi_TOAs()