compute_SEP_auto_params¶
- grizli.prep.compute_SEP_auto_params(data, data_bkg, mask, pixel_scale=0.06, err=None, segmap=None, tab=None, grow_kron=6.0, autoparams=[2.5, <Quantity 0.35 arcsec>, 2.4, 3.8], flux_radii=[0.2, 0.5, 0.9], subpix=0, verbose=True)[source]¶
Compute SourceExtractor-like AUTO params with
sephttps://sep.readthedocs.io/en/v1.0.x/apertures.html#equivalent-of-flux-auto-e-g-mag-auto-in-source-extractor- Parameters
- data2D array
Image data
- data_bkg2D array
Background-subtracted image data
- mask2D array
Pixel mask
- pixel_scalefloat
Pixel scale, arcsec
- err2D array
Uncertainty array
- segmap2D array
Associated segmentation map
- tab
Table Table from, e.g.,
sep.extract.- grow_kronfloat
Scale by which semimajor and semiminor axes are multiplied for calculating the Kron moment. This is hard-coded as
grow_kron=6.0in SourceExtractor.- autoparamslist
Provided as
[k, MIN_APER, MIN_KRON, MAX_KRON], where the usual SourceExtractorPHOT_AUTOPARAMSwould be[k, MIN_KRON]. Here,kis the scale factor of the Kron radius, andMIN_KRONis the minimum scaled Kron radius to use.MIN_APERis then the smallest circular Kron aperture to allow, which can be provided with attached units (e.g.arcsec).- flux_radiilist
Light fraction radii, e.g.,
[0.5]will calculate the half-light radius (FLUX_RADIUS)- subpixint
Pixel oversampling with the
sepaperture functions- verbosebool
Print status messages.
- Returns
- auto
Table Table with the derived parameters
Column
Description
kron_radiusKron radius, pixels
kron_rcircCircularized Kron radius, pixels
flux_autoFlux within AUTO aperture
fluxerr_autoUncertainty within AUTO aperture
bkg_autoBackground within AUTO aperture
flag_autosepflags for AUTO aperturearea_autoPixel area of AUTO aperture
- auto