calculate_two_shutter_uniform_pathloss

jwst.pathloss.pathloss.calculate_two_shutter_uniform_pathloss(pathloss_model)[source]

Calculate pathloss for uniform source, two-shutter slit.

The two-shutter MOS case for uniform source calculation requires a custom routine since it uses both the 1X1 and 1X3 extensions of the pathloss reference file.

Parameters:
pathloss_modelPathlossModel

The pathloss datamodel

Returns:
wavelength, pathloss_vectorndarray

The wavelength and pathloss 1-D arrays, respectively