get_interpolated_effective_area#

irispy.utils.get_interpolated_effective_area(time_obs, response_version, detector_type, obs_wavelength)[source]#

To compute the interpolated time-dependent effective area.

It will generalize to the time of the observation.

Parameters:
  • time_obs (an astropy.time.Time object, as a kwarg, valid for version > 2) – Observation times of the datapoints. This argument is ignored for versions 1 and 2.

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

  • detector_type (str) – Detector type: ‘FUV’ or ‘NUV’.

  • obs_wavelength (astropy.units.Quantity) – The wavelength at which the observation has been taken in Angstroms.

Returns:

The effective area(s) determined by interpolation with a spline fit.

Return type:

numpy.array