acdc.database.calculate_dark.get_aperture_region
- get_aperture_region(cenwave=1291, aperture='PSA', segments=['FUVA', 'FUVB'], life_adj=[1, 2, 3, 4, 5, 6])[source]
Determine the extraction box for a given cenwave (1291 by default) and aperture (PSA by default).
- Parameters:
cenwave (int) – Cenwave to look up.
aperture (str) – Aperture to look up.
- Returns:
cenwave (int) – Cenwave setting.
apertures (dict) – Dictionary where each key is segment, and the value is another dictionary where each key is lifetime position, and the value is a tuple with (xmin, xmax, ymin, ymax) representing the cenwave extraction box for that segment and LP combo.