acdc.predict_dark_level.get_binning_pars

get_binning_pars(af)[source]

Return spatial and PHA binning information for a superdark.

Parameters:

af (AsdfFile) – ASDF file to extract binning information from.

Returns:

binning (dict) – Dictionary that describes the binning information in both the spatial and PHA dimensions.