load_pointing_data¶
- sofia_redux.instruments.fifi_ls.pointing_discard.load_pointing_data(primehead, pointing_directory=None)[source]¶
Load the file listing the pointing errors. The file must be in the “.tsv” format and named as the mission ID, which is extracted from the FITS header. The default path to the pointing error file is “./data/pointing_error/” but this can be adjusted with the “pointing_directory” parameter.
- Parameters:
- primeheadastropy.io.fits.Header
Primary header of the loaded FITS file.
- pointing_directorystr, optional
Path to the directory containing the pointing error files.
- Returns:
- df_pointing_errorpandas.DataFrame
Dataframe listing the pointing errors at a given time.