potpyri.instruments.F2
F2/Gemini-S instrument configuration and reduction parameters.
Classes
|
F2 at Gemini-South: NIR imaging with dark and flat calibration. |
- class potpyri.instruments.F2.F2[source]
Bases:
InstrumentF2 at Gemini-South: NIR imaging with dark and flat calibration.
- get_exptime(hdr)[source]
Return exposure time from header (exptime_keyword).
- get_filter(hdr)[source]
Return filter name from header; leading segment before underscore.
- get_gain(hdr)[source]
Return gain value(s) for the detector/amplifier.
- Parameters:
hdr (
astropy.io.fits.Header) – FITS header (may be used in subclasses for amp-dependent values).- Returns:
Gain in e-/ADU.
- Return type:
floatorlist
- get_number(hdr)[source]
- get_rdnoise(hdr)[source]
Return read noise value(s) for the detector/amplifier.
- Parameters:
hdr (
astropy.io.fits.Header) – FITS header (may be used in subclasses for amp-dependent values).- Returns:
Read noise in electrons.
- Return type:
floatorlist
- get_saturation(hdr)[source]
- import_image(filename, amp, log=None)[source]
Load raw multi-extension FITS and return processed CCDData (bias/overscan/trim/gain).
- Parameters:
filename (
str) – Path to raw FITS file.amp (
str) – Amplifier identifier (number of extensions).log (
ColoredLogger, optional) – Logger for progress.
- Returns:
Processed frame in electrons (single combined image).
- Return type:
ccdproc.CCDData
- raw_format(proc)[source]
Return glob pattern for raw files (e.g. ‘sci_img_*.fits’ or ‘sci_img*[!proc].fits’).