get_frequency_info

jwst.emicorr.emicorr.get_frequency_info(emi_model, frequency_name)[source]

Get the frequency number from the given EMI model.

Parameters:
emi_modelEmiModel

EMI reference datamodel.

frequency_namestr

Frequency of interest.

Returns:
frequency_numberfloat

Frequency

phase_amplitudesarray

1-D array of the corresponding phase amplidues for this frequency

Raises:
AttributeError

If the frequency_name was not found in the emi_model.