get_ref_arr

jwst.guider_cds.guider_cds.get_ref_arr(model, reference_model)[source]

Extract arrays in appropriate shape from the reference files.

Parameters:
modelGuiderRawModel

Input data model

reference_modelReferenceFileModel

Reference file containing the relevant array; typically either a GainModel or a ReadnoiseModel

Returns:
ref_arrndarray

Values from the reference file