get_ref_file_args
- jwst.extract_1d.soss_extract.soss_extract.get_ref_file_args(ref_files, orders_requested=None)[source]
Prepare the reference files for the extraction engine.
- Parameters:
- ref_filesdict
A dictionary of the reference file datamodels, along with values for the subarray and pwcpos, i.e., the pupil wheel position.
- orders_requestedlist or None, optional
A list of the spectral orders requested for extraction. If None, all orders in the PASTASOSS reference file are used.
- Returns:
- list
A list of
DetectorModelOrderobjects containing PASTASOSS outputs and other reference information, one per spectral order to be extracted.