get_subarcase

jwst.emicorr.emicorr.get_subarcase(emi_model, subarray, readpatt, detector)[source]

Get the rowclocks and frameclocks values for the given configuration.

If no match is found for the configuration, None will be returned for all values.

Parameters:
emi_modelEmiModel

EMI datamodel containing subarray_cases.

subarraystr

Keyword value

readpattstr

Keyword value

detectorstr

Keyword value

Returns:
subnamestr or None

Modified subarray name.

rowclocksint or None

Row clock value.

frameclocksint or None

Frame clock value.

frequencieslist of str or None

List of frequencies to correct according to subarray name.