exp_to_source

jwst.exp_to_source.exp_to_source.exp_to_source(inputs)[source]

Reformat exposure-based MSA data to source-based.

Parameters:
inputslist of MultiSlitModel

List of MultiSlitModel instances to reformat.

Returns:
multiexposuresdict

Returns a dictionary of MultiExposureModel instances wherein each instance contains slits belonging to the same source. The key is the source_id of each source.