multislit_to_container

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

Reformat exposure-based MSA data to source-based containers.

Parameters:
inputslist or ModelContainer of MultiSlitModel

List of MultiSlitModel instances to reformat

Returns:
containersdict

Returns a dictionary of ModelContainer instances wherein each instance contains ImageModel of slits belonging to the same source. The key is the ID of each slit, i.e., source_id.