read_extract1d_ref

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

Read the extract1d reference file.

Parameters:

refname (str) – 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_dict – If the extract1d reference file is specified, ref_dict will be the dictionary returned by json.load().

Return type:

dict or None