FileTable
- class jwst.cube_build.file_table.FileTable[source]
Bases:
objectDictionary contains defaults for MIRI and NIRSpec data.
Methods Summary
set_file_table(input_models)Set up the
self.FileMapdictionary.Methods Documentation
- set_file_table(input_models)[source]
Set up the
self.FileMapdictionary.Fill in the master table which holds the files that the cube will be constructed from. Since MIRI has 2 channels per image, this dictionary helps to figure out which data needs to be use. The master table for MIRI is broken down by channel and subchannel. For each channel/subchannel combination, a file is listed that covers those options. For NIRSPEC, the table contains the grating and filter for each file.
- Parameters:
- input_models
IFUImageModel The input data models used the set up this class.
- input_models
- Returns:
- instrumentstr
Instrument name extracted from data models. If multiple models are given, the last one processed is returned.