Blocks#

../_images/block.png

A Block is a single unit of processing acting on the Image object, reading and writing its attributes. Blocks documentation include the following information:

  • read: the Image attributes read by the Block

  • write: the Image attributes written by the Block

  • modify data: indicates that the Image.data is modified by the Block

Blocks categories#

All Blocks#

AlignReferenceSources

Set Image sources to reference sources (from a reference Image) aligned to the Image

AlignReferenceWCS

Create WCS based on a reference containing a valid WCS.

AlignSources

AnnulusBackground

Estimate background around each source using an annulus aperture.

AperturePhotometry

Perform aperture photometry of each sources.

Apply

Apply a function to an image.

AutoSourceDetection

Detect all sources.

Calibration

Flat, Bias and Dark calibration.

CentroidBallet

Centroiding with ballet.

CentroidCOM

Centroiding using photutils.centroids.centroid_com

CentroidGaussian2D

Centroiding using photutils.centroids.centroid_2dg

CentroidQuadratic

Centroiding using photutils.centroids.centroid_quadratic

CleanBadPixels

ComputeTransform

alias of ComputeTransformTwirl

ComputeTransformTwirl

Compute transformation of an image to a reference image

ComputeTransformXYShift

Compute translational transform of a target image to a reference image

Cutouts

Create cutouts around all sources

DAOFindStars

DAOPHOT stars detection with photutils implementation.

Del

Remove a property from an Image

Drizzle

Produce a dithered image.

GaiaCatalog

Query gaia catalog

Gaussian2D

Model Image.epsf as a 2D Gaussian profile

Get

Retrieve and store properties from an Image.

GetFluxes

A conveniant class to get fluxes and background from aperture and annulus blocks

HFD

JAXGaussian2D

Model Image.epsf as a 2D Gaussian profile (powered by JAX)

JAXMoffat2D

Model Image.epsf as a 2D Moffat profile (powered by JAX)

LimitSources

Limit number of sources.

MedianEPSF

Stack cutouts into Image.epsf: a median effective PSF

Moffat2D

Model Image.epsf as a 2D Moffat profile

Peaks

Computation of peak values for the detected stars (in ADUs).

PlateSolve

A block that performs plate solving on an astronomical image using a Gaia catalog.

PointSourceDetection

Detect point sources (as PointSource).

SEDetection

Source Extractor detection.

SegmentedPeaks

Detect point sources (backward compatibility)

SelectiveStack

Build a median stack image from the n best-FWHM images

SortSources

Sort sources given a function TODO

TESSCatalog

Query TESS (TIC) catalog

TraceDetection

Detect trace sources (as TraceSource)

TransformData

Transform image data using its transform

Trim

Image trimming

Video

A block to create a video from images data (using ffmpeg).

VideoPlot

A block to create a video from a matploltib plot (using ffmpeg).

WriteTo

Write image to FITS file