Through the “zero point”, we are able to give physical units to the pixel values of an image (often in units of “counts” or ADUs) and thus compare them with other images (as well as measurements that are done on them). The zero point is therefore an important calibration of pixel values (as astromerty is a calibration of the pixel positions). The fundamental concepts behind the zero point are described in Brightness, Flux, Magnitude and Surface brightness. We will therefore not go deeper into the basics here and stick to the practical aspects of it.
The purpose of Gnuastro’s astscript-zeropoint script is to obtain the zero point of an image using a reference image, or a reference catalog.
The reference image must have a known zero point, and the reference should contain known positions and magnitudes of stars; both should of course also contain some spatial overlap (on the sky) with the input image.
The reference data (catalog or image) serve as the anchor point to which your input image will be calibrated (a zero point will be found for it).
By comparing the instrumental magnitudes of the stars with their cataloged (standard) magnitudes, the differences can be calculated and used to determine the zero point.
For example, when using a reference image, the script will take the following steps:
In the “Tutorials” chapter of this Gnuastro book, there are two tutorials dedicated to the usage of this script. The first uses an image as a reference (Zero point tutorial with reference image) and the second uses a catalog (Zero point tutorial with reference catalog). For the full set of options an a detailed description of each, see Invoking astscript-zeropoint.
Stars have an almost identical shape in the image (as opposed to galaxies for example), using confirmed stars will produce a more reliable result.
For a complete tutorial on aperture photometry, see Aperture photometry.
For a tutorial on matching catalogs, see Matching catalogs).
GNU Astronomy Utilities 0.24 manual, November 2025.