read_extract1d_ref

jwst.extract_1d.extract.read_extract1d_ref(refname)[source]

Read the extract1d reference file.

Parameters:
refnamestr

The name of the extract1d reference file, or ‘N/A’. If specified, this file is expected to be a JSON file giving extraction information.

Returns:
ref_dictdict or None

If the extract1d reference file is specified, ref_dict will be the dictionary returned by json.load().