sep.Background¶
- class sep.Background(data, mask=None, maskthresh=0.0, bw=64, bh=64, fw=3, fh=3, fthresh=0.0)¶
Representation of spatially variable image background and noise.
- Parameters
- data2-d
ndarray
Data array.
- mask2-d
ndarray
, optional Mask array, optional
- maskthreshfloat, optional
Mask threshold. This is the inclusive upper limit on the mask value in order for the corresponding pixel to be unmasked. For boolean arrays, False and True are interpreted as 0 and 1, respectively. Thus, given a threshold of zero, True corresponds to masked and False corresponds to unmasked.
- bw, bhint, optional
Size of background boxes in pixels. Default is 64.
- fw, fhint, optional
Filter width and height in boxes. Default is 3.
- fthreshfloat, optional
Filter threshold. Default is 0.0.
- data2-d
- __init__(data, mask=None, maskthresh=0.0, bw=64, bh=64, fw=3, fh=3, fthresh=0.0)¶
Methods
__init__
(data[, mask, maskthresh, bw, bh, ...])back
([dtype])Create an array of the background.
rms
([dtype])Create an array of the background rms.
subfrom
(data)Subtract the background from an existing array.
Attributes
globalback
Global background level.
globalrms
Global background RMS.