extract_from_hdul¶
- msaexp.drizzle.extract_from_hdul(hdul, prf_center=None, master_bkg=None, verbose=True, line_limit_kwargs={}, **kwargs)[source]¶
Run 1D extraction on arrays from a combined dataset
- Parameters
- hdul
HDUList Output data from from
drizzle_slitlets- prf_centerfloat, None
Initial profile center. If not specified, get from the
'SRCYPIX'keyword inhdul['SCI'].header- master_bkgarray
Optional master background to use instead of
hdul['BKG'].data- verbosebool
Printing status messages
- line_limit_kwargsdict
Keyword arguments passed to
msaexp.drizzle.get_xlimits_from_lines- kwargsdict
Keyword arguments passed to
msaexp.drizzle.make_optimal_extraction
- hdul
- Returns
- outhdu
HDUList Modified HDU including 1D extraction
- outhdu