# get_iris_response¶

irispy.iris_tools.get_iris_response(pre_launch=False, response_file=None, response_version=None, force_download=False)[source] [edit on github]

Returns IRIS response structure.

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

Parameters: pre_launch (bool) – Equivalent to setting response_version=2. Cannot be set simultaneously with response_file kwarg. Default=False response_file (str) – Version number of effective area file to be used. Cannot be set simultaneously with pre_launch kwarg. Default=latest response_version (int) – Version number of effective area file to be used. Cannot be set simultaneously with response_file or pre_launch kwarg. Default=latest iris_response – Various parameters regarding IRIS response. The following keys: date_obs: datetime.datetime 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: datetime.datetime dict

Notes

This routine does not calculate time dependent effective areas using version 3 and above of the response functions as is done in the SSW version of this code. Therefore, asking it to read a version 3 or above response function will result in an error. This code should be updated in future versions to calculate time dependent effective areas.