parse_grism_associations

grizli.utils.parse_grism_associations(exposure_groups, best_direct={'G102': ['F105W', 'F110W', 'F098M', 'F125W', 'F140W', 'F160W', 'F127M', 'F139M', 'F153M', 'F132N', 'F130N', 'F128N', 'F126N', 'F164N', 'F167N'], 'G141': ['F140W', 'F160W', 'F125W', 'F105W', 'F110W', 'F098M', 'F127M', 'F139M', 'F153M', 'F132N', 'F130N', 'F128N', 'F126N', 'F164N', 'F167N'], 'G800L': ['F814W', 'F606W', 'F850LP', 'F775W', 'F435W', 'F105W', 'F110W', 'F098M', 'F125W', 'F140W', 'F160W', 'F127M', 'F139M', 'F153M', 'F132N', 'F130N', 'F128N', 'F126N', 'F164N', 'F167N']}, get_max_overlap=True)[source]

Get associated lists of grism and direct exposures

Parameters:
exposure_grups : list

Output list of overlapping visits from parse_visit_overlaps.

best_direct : dict

Dictionary of the preferred direct imaging filters to use with a particular grism.

Returns:
grism_groups : list

List of dictionaries with associated ‘direct’ and ‘grism’ entries.