generate_exposure_map

sofia_redux.instruments.fifi_ls.resample.generate_exposure_map(combined, grid_info, get_good=False)[source]

Create the exposure map from combined files.

Parameters:
combineddict

Dictionary containing combined data

grid_infodict

Dictionary containing output grid coordinates and other necessary information.

get_goodbool, optional

If set, a list of good pixel arrays will be returned instead of an exposure map

Returns:
numpy.ndarray or list of numpy.ndarray

3D exposure map array, by default. If get_good is set, a list of boolean arrays is returned instead, representing the good pixel mask for each input file.