get_aperture_from_model
- jwst.pathloss.pathloss.get_aperture_from_model(input_model, match)[source]
Determine the correct aperture in the model to use.
Based on the value of the ‘match’ parameter:
For MSA, match is the shutter state string.
For fixed slit, match is the name of the slit.
- Parameters:
- input_model
JwstDataModel Science data to be corrected
- matchstr
Aperture name or shutter state
- input_model
- Returns:
- aperturestr or None
Aperture name