Parameters: | image_name: str
ampsec: list
oscansec: list
trimsec: list
error: boolean
masterbias: None, `~numpy.ndarray`, or `~ccdproc.CCDData`
bad_pixel_mask: None or `~numpy.ndarray`
flip: boolean
rdnoise: None or `~astropy.Quantity`
oscan_median : bool, optional
oscan_model : Model, optional
|
---|---|
Returns: | ccd: CCDData
|
Notes
The format of the fits_section string follow the rules for slices that are consistent with the FITS standard (v3) and IRAF usage of keywords like TRIMSEC and BIASSEC. Its indexes are one-based, instead of the python-standard zero-based, and the first index is the one that increases most rapidly as you move through the array in memory order, opposite the python ordering.
The ‘fits_section’ argument is provided as a convenience for those who are processing files that contain TRIMSEC and BIASSEC. The preferred, more pythonic, way of specifying the overscan is to do it by indexing the data array directly with the overscan argument.