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.

Parameters
  • time_obs (an astropy.time.Time object, as a kwarg, valid for version > 2) – 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.

  • 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