prose.FitsManager.observation_files#

FitsManager.observation_files(i, past=1000.0, future=0, tolerance=1000000000000000.0, same_telescope=True, lights='images', show=True)[source]#

Return a dictionary of files for a given observation ID, along with calibration files.

Parameters:
  • i (int) – id of the observation for which files are retrieved.

  • past (float, optional) – Number of days in the past to consider when retrieving calibrartion files, by default 1e3.

  • future (float, optional) – Number of days in the future to consider when retrieving calibrartion files, by default 0.

  • tolerance (float, optional) – Tolerance on the exposure constraint, by default 1e15. For example: if exposure is set to 10 and tolerance to 2, all files with exposure = 10 +- 2 will be retrieved.

  • same_telescope (bool, optional) – Whether to retrieve files from the same telescope as the observation, by default True.

  • lights (str, optional) – key of images files in the return dict, by default “images”.

  • show (bool, optional) – Whether to print the pandas dataframe of returned files, by default True.

Returns:

A dictionary containing the files for the given observation id, along with the associated calibration files.

Return type:

dict