ATK.Models.Image#
- class ATK.Models.Image[source]#
Bases:
ContainerContainer for storing image data. This object stores both data and relevant metadata.
Units
The following attributes are automatically converted to
Quantitywith a default unit unless one is explictly provided:size- arcsec
Plotting Arguments
The following keyword arguments are accepted when plotting via
plot()oropen().- cmap{‘viridis’, ‘grey’, ‘false_colour’}, optional
Sets the image colour map.
false_colourmaps the wavelength of the image filter into a single RGB colour.Default is
'viridis'.- relative_axesbool, optional
Sets the format of the coordinate axes.
True: coordinate axes display distance from the image centre.False: coordinate axes display positions on the sky.Default is
True.
Attributes
Photometric band of stored data.
Achieved degree of proper motion correction.
Epoch of stored image.
Raw image data and header.
Photometric overlay data.
Position of search at time of execution (i.e. post-correction).
Size of stored image.
Survey from which the stored data originates.
World coordinate system of stored image.
Methods
show([show_types, show_all])Prints structure to stdout in a human-readable format.
to_hdu()Converts structure into a FITS
ImageHDU.Attribute Descriptions
- correction: str | None = None#
Achieved degree of proper motion correction.
'full'= complete 3-dimensional projection on the sky.'partial'= 2-dimensional plane projection.'none'= no correction.
- overlay: DataFrame | None = None#
Photometric overlay data.
Each row corresponds to a single detection, and contains:
surveystrSurvey name (e.g.
'gaia').
rafloatRight ascension (deg).
decfloatDeclination (deg).
pm_ra_cosdecfloatProper motion in RA direction (mas/yr).
pm_decfloatProper motion in Dec direction (mas/yr).
distfloatDistance to source, as derived from parallax (pc).
correction{‘full’, ‘partial’, ‘none’}Achieved level of proper motion correction.
mag_namestrName of magnitude band.
magfloatApparent magnitude.
err_namestrName of magnitude uncertainty field.
errfloatMagnitude uncertainty.
simbad_idstr or NonePrimary name in SIMBAD (
Noneif no match was found).
Method Descriptions
- show(show_types=False, show_all=False)#
Prints structure to stdout in a human-readable format.
- Parameters:
- show_typesbool, optional
If True, print data types of structure attributes.
Default is
False- show_allbool, optional
If True, do not truncate printing of large iterables.
Default is
False.
- Returns:
self