get_iris_response

irispy.utils.get_iris_response(time_obs=None, pre_launch=False, response_file=None, response_version=None, force_download=False)[source]

Returns IRIS response structure.

One and only one of pre_launch, response_file and response_version must be set.

Parameters
  • time_obs (an astropy.time.Time object, as a kwarg, valid for version > 2 ,optional) – Observation times of the datapoints. Must be in the format of, e.g., time_obs=parse_time(‘2013-09-03’, format=’utime’), which yields 1094169600.0 seconds in value. The argument time_obs is ignored for versions 1 and 2.

  • pre_launch (bool,optional) – Equivalent to setting response_version=2. Cannot be set simultaneously with response_file kwarg. Default=False.

  • response_file (int,optional) – Version number of effective area file to be used. Cannot be set simultaneously with pre_launch kwarg. Default=latest.

  • response_version (int,optional) – Version number of effective area file to be used. Cannot be set simultaneously with response_file or pre_launch kwarg. Default=4.

Notes

This routine does calculate time dependent effective areas using version 3 and above of the response functions as is done in the SSW version of this code. This code has been updated to calculate time-dependent effective areas.

Returns

Various parameters regarding IRIS response or effective area structure. Includes the following keys: date_obs: astropy.time.Time lambda: astropy.units.Quantity area_sg: astropy.units.Quantity name_sg: str dn2phot_sg: tuple of length 2 area_sji: astropy.units.Quantity name_sji: str dn2phot_sji: tuple of length 4 comment: str version: int version_date: astropy.time.Time

Return type

dict