exp_to_source
- jwst.exp_to_source.exp_to_source(inputs)[source]
Reformat exposure-based MSA data to source-based.
- Parameters:
- inputs[~jwst.datamodels.MultiSlitModel, …]
List of MultiSlitModel instances to reformat.
- Returns:
- multiexposuresdict
Returns a dict of MultiExposureModel instances wherein each instance contains slits belonging to the same source. The key is the ID of each source, i.e.
source_id
.