read_apcorr_ref
- jwst.extract_1d.extract.read_apcorr_ref(refname, exptype)[source]
Read the APCORR reference file.
Determine the appropriate datamodel class to use for an APCORR reference file and read the file into it.
- Parameters:
- refnamestr
Path to the APCORR reference file.
- exptypestr
EXP_TYPE of the input to the
extract_1dstep.
- Returns:
JwstDataModelA datamodel containing the reference file input.