FISTAR(1)
π NAME π
fistar β detecting and characterizing point-like sources.
That's the whole vibe, bestie: it finds star-like blobs in your astronomical images and tells you everything about them. It lives in section 1 of the manual, the User Commands one, so it's a program you just run from the shell. Periodt. π
β¨ SYNOPSIS β¨
fistar [options] <input> [-o|--output <output>]
π¦ DESCRIPTION π¦
okay so the main character job of this program is to detect and extract sources β like, star-like objects β out of astronomical images. And it does it in three big steps, no skips:
- First, pixel groups get derived that possibly belong to the sources. These preliminary detections are called source "candidates". (The original page spells it "callad", and honestly? iconic. we love a typo moment. π)
- Second, those candidates get modelled with some sort of analytic model function, so you can derive way more precise centroid coordinates and shape parameters.
- Last step: extract the point-spread function (PSF) for the image, based on the detected and modelled sources.
Basically: the input must be an astronomical image, and the output is the list of detected and extracted sources plus all their respective characteristics. That's it, that's the serve. π
πΈ OPTIONS πΈ
π General options π
-h,--helpβ gives general summary about the command line options.--long-help,--help-longβ gives a detailed list of command line options.--wiki-help,--help-wiki,--mediawiki-help,--help-mediawikiβ gives a detailed list of command line options in Mediawiki format.--version,--version-short,--short-versionβ gives some version information about the program.-i,--input <image file>β name of input file from which the sources are extracted.-o,--output <data file>β name of the data file where the list of the extracted sources and their respective characteristics are written.
π₯ Basic source detection and characterization options π₯
-t,--threshold <threshold>β detection peak threshold, in ADUs.-f,--flux-threshold <flux threshold>β detection flux threshold, in ADUs.--algorithm <algorithm>β source cadidate extraction algorithm. It can be"uplink"(default) or"parabolapeak".-p,--prominence <prominence>β critical relative prominence parameter used in the"uplink"algorithm. The default is to use no prominence based pixel grouping.-r,--shrink <shrink factor>β shrink factor applied before star candidate detection. The image is shrunk by this specific factor, and after the detection, the candidate coordinates are multiplied by this value.--only-candidatesβ do not involve any analitic model funcion during the derivation of the centroid coordinates and shape parameters, but derive these from some sort of simple pixel statistics.--model <model>[order=<order>]β analytic model function used in the second stage of source extraction. This can be"gauss"(symmetic Gaussian profile),"elliptic"(assymetic Gaussian profile) and"deviated"(Gaussian profile multiplied by a polynomial up to the specified order).--iterations symmetric=<n>,general=<n>β the number of Levenberg-Marquardt iterations during the analytic model fit. The fit is done in two substeps: first the symmetric profile parameters are derived only, which step is followed by the fit for all of the shape parameters.-s,--sort {x|y|peak|fwhm|amp|flux|noise|s/n}β sort the output list of extracted sources by X or Y coordinate, peak flux (no background level subtracted), profile FWHM, peak intensity (background level is subtracted), total flux, noise level or signal-to-noise ratio; respectively.--mag-flux <mag>,<flux>β magnitude - flux conversion level. The specified magnitude will be equivalent to the specified flux level.-M,--input-mask <image file>β input mask file to co-add to the mask of the input image. Useful for marking pixels to be excluded from source extraction process beyond the ones which are previously marked in the input image.-F,--format <format>β comma separated list of format tags, for formatting the output list of extracted sources. Each row represents an extracted source, while the format specified here defines the quantities listed in each row of the output file. See"Format tags"for more details.
π Format tags π
these are the little building blocks you drop into --format, bestie. each one is a quantity that'll show up in a row of your output file:
idβ an unique identifier for the source (an integer number, in fact).ixβ integer X coordinate for the centroid pixel.iyβ integer Y coordinate for the centroid pixel.xβ centroid X coordinate in native coordinate convention.yβ centroid Y coordinate in native coordinate convention.bgβ background level.ampβ peak amplitude.Sβ Gaussian momenum for the stellar profile (S=1/sigma^2).Dβ plus-shaped momentum for the stellar profile.Kβ cross-shaped momentum for the stellar profile.sigmaβ sigma parameter for the stellar profile (FWHM is roughly 2.35 * sigma).deltaβ delta (plus-shaped deviance) parameter for the stellar profile.kappaβ kappa (cross-shaped deviance) parameter for the stellar profile.fwhmβ full width at half magnitude (FWHM) of the stellar profile.ellipβ ellipticity of the stellar profile.paβ position angle of the stellar profile.fluxβ total flux of the source.nosieβ noise level of the source. (yes, it's spellednosiein the source of truth. not me, not my fault, keep it as-is. π)s/nβ signal-to-noise ratio of the detection.magnitudeβ brightness of the source in magnitudes (see also--mag-flux).cxβ candidate centroid X coordinate (derived from pixel flux statistics).cyβ candidate centroid Y coordinate (derived from pixel flux statistics).cbgβ background level for the source candidate.campβ peak amplitude of the source candidate.cmaxβ maximum intensity on the source cadidate.csβ Gaussian momenum for the source cadidate, derived from pixel flux statistics.cdβ plus-shaped momentum for the source cadidate, derived from pixel flux statistics.ckβ cross-shaped momentum for the source cadidate, derived from pixel flux statistics.npixβ number of pixels assigned to the detetcted source.
π§ Obtaining the point-spread function (PSF) π§
--psf <parameters>β comma-separated list of parameters related to the PSF fitting:grid=<grid>β subgrid size for the PSF.halfsize=<half size>β half-size of the PSF stamp; the full size of the stamp will always be2*<half size>+1and the PSF itself is centered at the center of the central pixel.order=<order>β order of spatial variations in the PSF.symmetrizeβ symmetrize the resulting PSF (i.e. fit a symmetric PSF instead of a normal one).splineβ use a spline interpolation during the determination of the PSF.
--output-psf <output PSF FITS file>β name of the output file where the PSF is saved in FITS format. The PSF is stored in a 3 dimensional (a.k.a."data cube") structure where the z-axis is for the various polynomial coefficients describing the spatially varied PSF.
π Alternate sources for object candidates π
-C,--input-cadidates <cadidate list file>β name of input cadidate list file. If such a file is defined in the command line, the cadidates are not searched by the build-in algorithms. Instead, the centroids are read from this file and the pixels for each object are defined within a certain radius from this centroid (see-r|--cadidate-radiusalso). The role of this option is twofold. First, it is suitable if only some of the sources have to be modelled with an analytic function; second, PSF determination can be done only a previously cleaned list of sources, in the case when there might be contaminating sources too.-r,--candidate-radius <radius>β this option defines a distance, where pixels within this are assigned to the candidate.--col-xy <colx>,<coly>β column indices for X and Y centroid coordinates.
π« tiny heads up, bestie: the original page really does hand-rto two different options β--shrinkup above and--candidate-radiusright here. Not me inventing drama, that's just literally what it says. iykyk.
π REPORTING BUGS π
Report bugs to <apal@szofi.net>, see also https://fitsh.net/.
π COPYRIGHT π
Copyright Β© 1996, 2002, 2004-2008, 2010-2016, 2018-2020; Pal, Andras <apal@szofi.net>
and that's a wrap on fistar(1), bestie! this page is from fistar 0.9.4 (2021.01.24), dated January 2021 β go detect some stars, you absolute icon πβ¨π
π¦ where this page comes from
- debian bookworm: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- debian trixie: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu jammy: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu noble: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu resolute: fitsh 0.9.4-2 Β· GPL-3.0-or-later
- ubuntu stonking: fitsh 0.9.4-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms