skip to main content

gaia data release 4 documentation

25.3 Astrometry

25.3.2 epoch_image [DataLink]


This table provides the image data from the Sky Mapper CCDs and from the CCDs of the main astrometric field, for all sources treated in the main astrometric processing. It provides the individual CCD sample values (not the original data, but pre-processed by various electronic calibration corrections), plus their precise projection onto the celestial sphere, and all relevant flags describing the properties of each image.
The table epoch_image contains one row per source_id-transit_id matching pair. The same source_id occurs as many times as there are FoV transits matched with this source. The same transit_id occurs as many times as there are individual peaks in multi-peak FoV transits. Any combination of source_id and transit_id occurs exactly once in the table.
Each row contains two per-source fields (ra0 and dec0); for ease of handling and usage, these are repeated as many times as there are transits matched to the given source. Similarly, some of the per-transit and per-CCD data are repeated for the same reasons. The fields corresponding to per-CCD data contain arrays with ten elements in every row. The ten entries are ordered and contain the single entry of the SM CCD followed by the nine entries of the AF1 to AF9 CCDs. For transits in row 4 there is no AF9 CCD and the tenth element will be null in such cases.
The precise projection of the individual CCD samples onto the celestial sphere is given in the form of local plane coordinates (see Hernandez et al. (2026) for details), both for the two-dimensional and for the one-dimensional astrometric Gaia measurements.
Note: this table is not available through the main archive TAP interface. Data are delivered via the Massive Data service indexed by the VO DataLink protocol and described in Chapter 23. For example this can be actioned in the archive user interface by joining queries with the table all_source_flags and selecting has_epoch_image = ’true’. The DataLink retrieval type to specify for this product in programmatic archive access via the Astroquery Gaia Python package is EPOCH_IMAGE.
We note that in many cases the fields scan_pos_angle, parallax_factor_al and parallax_factor_ac for a given transit_id differ between the epoch_image and epoch_astrometry tables. These differences are small (up to 3.8E-4 degrees, 1.8E-5 and 9.5E-6, respectively), and they are largely unavoidable. Partly, they are due to the — necessarily — different calibration models used: In epoch_image, no unique magnitude or colour can be assigned to any sample, nor to the window centre. On the contrary, for epoch_astrometry the full, chromatic and magnitude-dependent models for the underlying celestial source are used, of course. Additionally, the effective observation times are different: In epoch_astrometry, the obvious and optimal choice is the mean exposure time for the image centroid. However, this is not appropriate for epoch_image, in particular for multi-peak windows. The reasonable choice here would be the mean exposure time for the window centre. In the DR4 tables of epoch_image a mixture between centroid times and window centre times is implemented. For DR5, efforts will be taken to always use the window centre.
We furthermore note that the number of records in the epoch_image table is about 128 million higher than in the epoch_astrometry table. The difference is primarily due to time intervals known as AGIS gaps, where no final high-precision attitude is available, and thus the transits were not used in the astrometric source solutions. A minority of the cases is caused by multiple (secondary) peaks detected in the early DIPD processing for DR4 that were not recovered in the latest DIPD runs.
DataLink products are served with a choice of two different data structures:

  • •

    DATAMODEL_STANDARD: the product is serialised following a standard data model (for example an IVOA-compliant data model in applicable cases);

  • •

    DATAMODEL_GAIA: the product is serialised following the Gaia DPAC(-internal) data model.

The DATAMODEL_GAIA format is described here whereas the DATAMODEL_STANDARD format is described in https://www.cosmos.esa.int/web/gaia-users/archive/datalink-products#datalink_serialisation

Columns description:

solution_id : Solution Identifier (long)

All Gaia data processed by the Data Processing and Analysis Consortium comes tagged with a solution identifier. This is a numeric field attached to each table row that can be used to unequivocally identify the version of all the subsystems that were used in the generation of the data as well as the input data used. It is mainly for internal DPAC use but is included in the published data releases to enable end users to examine the provenance of processed data products. To decode a given solution identifier, please visit https://gaia.esac.esa.int/decoder/solnDecoder.jsp

source_id : Unique source identifier (long)

A unique single numerical identifier of the source.

The general format and construction of the identifier is described in gaia_source.source_id.

transit_id : Transit Identifier (long)

The transit_id is a unique identifier assigned to each detected (and confirmed) source as it transits the Gaia focal plane. Each time a given source is detected as Gaia scans and re-scans the sky a new transit identifier will be created to badge that apparition. Hence the along-scan time and the across-scan position along with the telescope in which the source was detected are used to form a unique integer with which to label the transit. The detection of transits is done using the SkyMapper CCD data, and the confirmation is done using the AF1 CCD data. Both happens on board.

The several features of a detection that are encoded in transit_id can be easily retrieved using bit masks (&) and shifts (>>) as follows:

  • •

    On-Board Mission Time line [ns]
    = 204800 * ((transit_id >> 17) & (0x000003FFFFFFFFFF))

  • •

    Field-of-view = 1 + (transit_id >> 15) & 0x03 [1 for ‘preceding’ and 2 for ‘following’ fields-of-view respectively]

  • •

    CCD row = (transit_id >> 12) & 0x07 [dimensionless, in the range 1 to 7]

  • •

    Across-scan ‘reference acquisition pixel’ in strip AF1 = (transit_id) & 0x0FFF [pixels] (this is the across-scan centre of the AF1 window and is odd if immediately below the mid-point of the window and even if immediately above)

where the bit mask prefix ‘0x’ denotes hexadecimal.

For further details see Portell et al. (2020). For convenience a decoder for transit_id is available on-line at

ra0 : Right ascension of reference point (double, Angle[deg])

Right ascension α0 of the tangent point on the plane tangential to the celestial sphere in which the coordinate direction of the object is locally modelled, i.e. of the celestial reference point from which the local plane coordinates sample_pos_al, sample_pos_ac and the corresponding sample size and shear terms are counted. The specific value will be taken from the valid/relevant source catalogue (which in turn will be defined implicitly by the solution_id).

Note: ra0 and dec0 are always the same for all transits of a given source_id.

For more details see Hernandez et al. (2026).

dec0 : Declination of reference point (double, Angle[deg])

Declination δ0 of the tangent point of the plane tangential to the celestial sphere in which the coordinate direction of the object is locally modelled, i.e. of the celestial reference point from which the local plane coordinates sample_pos_al, sample_pos_ac and the corresponding sample size and shear terms are counted. Specific value will be taken from the valid/relevant astrometric source catalogue (which in turn will be defined implicitly by the solution_id).

Note: ra0 and dec0 are always the same for all transits of a given source_id.

For more details see Hernandez et al. (2026).

ccd_row : CCD Row (byte)

CCD Row, from 1 to 7. Although the transit_id contains this, we include it for performance issues.

res_ref_time : Residual (high-resolution) reference time (short, Time[OBMT50] )

Residual (high-resolution) AF1 reference acquisition time.

The transit_id is defined in a way that it contains the reference acquisition time (from the AF1 acquired window) without its 12 least-significant bits (LSB). That is, if we use only the time contained in the transit_id we lose resolution.

This data field, res_ref_time, contains these 12 bits removed from the OBMT before the composition of transit_id. Hence, res_ref_time ranges from 0 to 204.75μs, in steps of 50ns (the same resolution as OBT).

The coding of res_ref_time follows these same steps; that is, 1 LSB of res_ref_time is 50ns. Hence the maximum code is 4095 (equal to 204.75μs).

Adding this value to the extracted time from transit_id (with the adequate units) will lead to the full OBMT resolution of the AF1 acquisition window.

object_type : Object type (byte)

Object type flag assigned by the VPU:

  • •

    ‘0’: Star (‘S’)

  • •

    ‘1’: Star sent to AOCS (‘AOCS’)

  • •

    ‘2’: Calibration faint star (‘CFS’)

  • •

    ‘3’: Suspected Moving Object (‘SMO’)

  • •

    ‘4’: Virtual Star (‘VS’)

  • •

    ‘5’: Star acquired with gate (‘SG’)

  • •

    ‘6’: Star acquired with Charge Injection (‘CI’)

g_class : Window class used in SM, AF and XP (byte)

Window class used in the sampling of SM, AF and BP/RP windows. It can take the following values:

  • •

    0 (window class 0a), G<11.5: full-resolution (2D) windows for AF and BP/RP, and high-resolution (2x2 pixels) window for SM.

  • •

    1 (window class 0b) 11.5<G<13: full-resolution (2D) windows for AF, high-resolution (2x2 pixels) window for SM, and 1D windows for BP/RP.

  • •

    2 (window class 1), 13<G<16: large 1D windows for AF (18 or 12 samples), low-resolution (2x2 samples, or 4x4 pixels) window for SM, and 1D windows for BP/RP.

  • •

    3 (window class 2), G>16: small 1D windows for AF (12 or 6 samples), low-resolution (2x2 samples, or 4x4 pixels) window for SM, and 1D windows for BP/RP.

af19_centring : Centring information for AF1-9 (byte[5] array)

This array always has a length of 1. It indicates the on-board trimming (‘centring’) of the AF1 window for g_class=2,3 in AL direction in order to reduce it to the most relevant samples centred on the actual star image. A centring value of zero means that the first 12 or 6 samples of an AF1 readout window are transmitted to the ground for g_class=2,3, respectively, and a value of 6 means that the last 12 or 6 samples are transmitted to the ground. A value of 3 indicates that the central samples are transmitted, thus discarding the 3 heading and the 3 trailing samples.

The value of 7 is used for g_class=0,1 where the full acquired AF1 window (18 samples in AL direction) is always transmitted.

This field is probably of no real use for any application of the public DR4 data.

shape_af : Shape (truncation) information for AF2-9 windows (byte[] array)

This array details the shape of the AF2-9 windows and is important if the windows are truncated or trimmed. It is only relevant for 1D windows and therefore not given for 2D windows. SM and AF1 windows are never truncated or trimmed.

Here, truncation refers to a reduction in size - often irregular - caused by an intra-field conflict with another window, while trimming refers to the permanent use of a reduced window size across scan. Trimming was only used for AF2-9 and only for a short period early in the mission (around OMBT revolutions 2103 to 2238).

The array will have the following possible sizes:

  • •

    NULL, for 2D windows, i.e. for g_class=0 or 1.

  • •

    18 elements, for g_class=2.

  • •

    12 elements, for g_class=3.

Each of the 12 or 18 elements corresponds to the same AL sample position in the 1D windows in AF2 to AF9. That is: this truncation geometry is identical for all AF2-9 windows in a transit.

This is because truncation is activated when another nearby source is detected in the same field of view, and thus following the same AL and AC propagation through the AF2-9 CCDs during the transit.

The meaning of each of the array elements is the following:

  • •

    The four most-significant bits (4 MSB) indicate the AC offset of the first pixel of the sample.

  • •

    The 4 LSB indicate the AC length (minus 1) of the sample.

  • •

    A value of -1 means that the sample was eliminated.

Some example values:

  • •

    The most typical case, for non-truncated 1D windows, is a value of 11 in each of the elements. It means a nominal 1D window of AF2-9 (with an AC size of 12 pixels), that is, an offset of 0 and a length of 11+1=12 pixels.

  • •

    A special case of -1 means that all the samples at that AL position were completely eliminated. Thus, we can expect zeroes in the corresponding samples for all AF2-9 windows.

  • •

    A value of 10 would mean an offset of 0 and a length of just 11 pixels AC.

  • •

    A value of 86 would mean an offset of 5 pixels and a length of 7 pixels AC.

  • •

    A value of 0 would mean an offset of 0 pixels and a length of just 1 pixel AC.

aocs_update : Information on AOCS updates occurred in SM + AF1-9 (byte[10] array)

This field indicates if some samples of a given window (SM and AF1-9) have been affected by an AOCS update, and hence if the window is not rectangular. The information is coded in a special way:

  • •

    ‘0’ means ‘no update’, i.e. the window is rectangular (all the samples have the same AC coordinate).

  • •

    A value of ‘-1’ means that more than 1 AC Shift update has occurred within the window (this should never happen), or that some other unexpected thing has occurred.

  • •

    In the other cases, i.e. when a ‘normal’ AOCS update has occurred during the window acquisition:

    Bits 0 to 4 (the least-significant ones) indicate the first line (1…17), after al_win_coord, for which the AC coordinate has changed. Note that value ‘0’ should not be used here (anyway it would mean ‘no AC update affecting the window’).

    Bits 5 to 7 indicate the update (-3 to +3 pixels AC), but coded in a special way to avoid negative values: ‘+4’ is added to the actual update. Thus, code ‘1’ in these three bits actually means ‘-3 pixels AC’, and code ‘7’ means ‘+3 pixels AC’. Please note that code ‘4’ (i.e. ‘0 pixels AC’) should never be used to avoid confusion. Also note that, in case of larger updates, code ‘0’ in these three bits will be generated, and then the actual shift shall be retrieved from the AC shifts table; in other words, an aocs_update value between 1 and 31 (i.e. 0<aocs_update<32) means that a large update has occurred.

Please note that, for simplicity, we cover all of the CCDs — also including SM and AF1, for which we will never have AOCS updates (and thus their corresponding components will always be zero).

transit_acq_flags : Transit-level information on the on-board acquisition (short)

This field contains a set of bitwise flags (from Bit 15 = msb to Bit 0 = lsb) related to the data acquisition. It has some oddities for historical reasons.

Windows may suffer truncation or trimming. Here, truncation refers to a reduction in size - often irregular - caused by an intra-field conflict with another window, while trimming refers to the permanent use of a reduced window size across scan. Truncation and trimming only affect 1D windows and never affect SM and AF1 windows. Trimming was only used for AF2-9 and only for a short period early in the mission (around OMBT revolutions 2103 to 2238).

The shape of all 1D AF2-9 windows is detailed in shape_af.

The field is coded as follows:

  • •

    Bits 15 and 14: unused

  • •

    Bit 13 (0x2000): Always set.

  • •

    Bit 12 (0x1000): The AF2-9 windows are trimmed AC but have not suffered truncation.

  • •

    Bits 11-9: unused

  • •

    Bits 7 and 8 (0x0180): xp_offset. This is the value of a continuous two-bit TDI counter. It is needed for the reconstruction of the XP windows.

  • •

    Bit 6 (0x0040): AF2-9 windows are 2D.

  • •

    Bit 5 (0x0020): AF2-9 windows are 1D (complement of Bit 6).

  • •

    Bit 4 (0x0010): AF2-9 windows are 1D and with the full AC size of 12 pixels.

  • •

    Bit 3 (0x0008): No BP window acquired.

  • •

    Bit 2 (0x0004): No RP window acquired.

  • •

    Bit 1 (0x0002): BP window truncated.

  • •

    Bit 0 (0x0001): RP window truncated.

ccd_acq_flags : CCD-level information on the on-board acquisition (byte[10] array)

This field contains an array, with one component per CCD (SM has index 0, AF9 index 9).

Each of the components of the array contains a set of bitwise flags, coded as follows:

  • •

    Bit 7 (AND bit mask 0x80): ‘1’ means ‘window missing’ (i.e. all samples are zero). It will happen for AF9 Row 4 (which does not exist), and for switched off CCDs, full overlapping in an inter-field conflict, etc.

  • •

    Bit 6 (0x40): ‘1’ means ‘wide window’, ‘0’ means ‘narrow window’. This distinction is only applicable to AF windows of Class 2 or 3. For the rest of the cases, that is, SM (any class), and for AF windows of Class 0 or 1 (i.e. 2D windows), we can consider them as wide windows, and thus the flag will be ‘1’. It will also be ‘1’ for truncated AF windows obviously (since they all become wide).

  • •

    Bit 5 (0x20): ‘1’ means ‘window at the CCD edge’, i.e. this window has been acquired with fewer AC pixels than usual.

  • •

    Bit 4 (0x10): ‘1’ means ‘some samples of this window have been eliminated, e.g. due to an inter-field conflict’.

  • •

    Bit 3 (0x08): ‘1’ means ‘this window is affected by an AOCS update’.

  • •

    Bit 2 (0x04): ‘1’ means ‘this window is affected by more than one gate (multiple gate)’.

  • •

    Bit 1 (0x02): ‘1’ means ‘there is a Charge Injection in the last half of the window’.

  • •

    Bit 0 (0x01): ‘1’ means ‘the Charge Injection preceding this window is abnormal’, mainly meaning that the preceding CI has interacted with a Gate i.e. the injection charge has been held in a gate line and therefore its length has been shortened and the TDI distance to the previous injection has been extended.

Please note that some of these flags are not applicable for SM (such as bits 3, 2, 1 and 0) and for AF1 (such as 3).

See Chapter 3 of the DR4 online documentation for more information.

gates : Gate information for all CCDs (byte[10] array)

This field is only needed in order to re-apply the AGIS calibrations, so it was put together with the block containing the other parameters used to evaluate the calibration.

This field contains an array, with one component per CCD (SM has index 0, AF9 index 9) indicating the gate used for the computation of the image parameters: flux and observing time.

Each of the components of the array contains a set of bitwise flags, coded as follows:

  • •

    Bit 7: The gate used in IPD is different from the one reported in the raw AstroObservation record. Basically, the true gate value was reconstructed by the Pre-processing (see Chapter 3 of the DR4 online documentation) according to the on-board software (CDB) configuration and the surrounding observations. This only happens when the preprocessing detects an inconsistency between the raw AstroObservation record gate and the expected value from the CDB configuration.

  • •

    Bit 6: The window has been acquired with a different gate with respect to the CDB. This flag could be tricky for windows close to the AC boundaries of a CCD, as we can not fully reconstruct the AC coordinates used on board, but we could safely identify 99% of the cases.

  • •

    Bit 5 (0x20): ‘1’ means ‘multiple gates in this window’.

  • •

    Bit 4 (0x10): ‘1’ means ‘window affected by a gate release’.

  • •

    Bits 3 to 0 (0x0F): these bits indicate the gate number of the central sample of the window (e.g. ‘0’ in case of no gate).

Please note that some of these flags are not applicable for SM (bits 5 and 4), whereas bits 3 to 0 indicate the permanent SM gate configuration, gate 12.

Convention for bits 3 to 0: ‘1’ means the shortest gate, i.e. 2 CCD lines in length, ‘12’ means the longest gate, i.e. 2900 lines in length, and ‘0’ means no gate, i.e. 4500 lines.

See Section 1.1.3, Table 1.3, and throughout Chapter 3 of the DR4 online documentation for more information on gates.

al_win_coord : Along Scan Coordinate of transmitted SM and AF windows wrt ref (short[10] array, Time[TDI Period] )

AL coordinates of the transmitted SM window and of the AF1-9 windows with respect to the reference acquisition time (of AF1, included in transit_id and res_ref_time). That is, these are the window coordinates (following Bastian (2020)), not the coordinates of the central pixels (which is the reference system used by Astrium in the raw telemetry).

Note: These are the absolute AL coordinates of the windows w.r.t. the reference time, that is, they already include the operational AL Phasing Table correction. However the following modification was done to avoid exceeding the range of a ‘short’:

al_win_coord_coded[i] = al_win_coord_true[i] - (1 << 14) = al_win_coord_true[i] - 16384.

The approximate range of al_win_coord_coded[i] is -27260 TDIs to +23137 TDIs.

ac_win_coord : AC coordinate of the transmitted SM and AF windows (byte[10] array, Length & Distance[pixel] )

AC coordinates of the transmitted SM window and of the AF1-9 windows with respect to the reference acquisition pixel (of AF1, included in transit_id). That is, these are the window coordinates (following Bastian (2020)), not the coordinates of the central pixels (which is the reference system used in the raw telemetry).

sm_samples : De-biased sample values from the sky mapper (float[] array, Charge[e-])

Samples of the SM window, in electrons, using the nominal PEM gain for conversion from ADUs (Analog-to-Digital Units) to electrons.

The number of samples included in this window depends on g_class:

  • •

    g_class<2 (G≤13) leads to 40×6=240 samples, each from 2×2 pixels.

  • •

    g_class>1 (G>13) leads to 20×3=60 samples, each from 4×4 pixels, namely from 2×2 software-binned read-out samples of 2×2 pixels each.

That is, the SM window always covers the same area on the sky, but with window class 0 (0a or 0b) it has more resolution.

Regarding the sample order (SM windows are always 2D windows), it follows the original order as provided by the VPU on board — that is, first in AC order, then in AL. This means, e.g. for g_class<2, the array is composed of 40 AL ‘blocks’ (with the TDI value increasing with the array index), and each ‘block’ composed of 6 AC samples (with the AC coordinate increasing with the array index). This is in agreement with Bastian (2020).

af19_samples : De-biased sample values from the Astrometric Field (AF1-AF9) (float[] array, Charge[e-])

The samples of the AF windows, bias corrected and converted to electrons using the nominal gain for conversion from ADUs (Analog-to-Digital Units) to electrons. This is a two dimensional array listing the samples for each AF window, beginning with AF1 and ending with AF9 (or AF8 in case of row 4).

The two-dimensional array is served by the Gaia ESA Archive as a flattened (one-dimensional) array. The number of samples per FoV transit depends on g_class, and it is different for AF2-9 as compared to AF1.

For the faintest (G>16) stars, i.e. for g_class=3, the AF1 window contains 6 samples in the AL direction, while the AF2-9 windows contain 12 samples each.

For g_class=2 (13<G<16), all windows are 6 samples wider with 12 samples for AF1 and 18 for the rest.

Finally, for g_class<2 (G≤13), all AF windows are 2-dimensional and with 18 samples in the AL direction. AF1 has a total of 18×6 samples and AF2-9 have 18×12. AF1 has only 6 samples AC because each sample contains 2 pixels binned in the AC direction, whereas there is no binning for AF2-9.

Within the array, samples are given in the same order as read off the CCDs. For 1D windows (g_class>1) they come simply in TDI (time) order. For 2D windows (g_class<2), the samples for each TDI line come in increasing column (AC coordinate) order, listing all samples for that TDI line before continuing with the next TDI line. This is in agreement with Bastian (2020).

Note: in case of truncated windows (which can only occur for g_class≥2), windows of AF2-9 have smaller AC sample sizes.

background : Mean background derived by IPD for these SM and AF windows (float[10] array, Flux[e− pix−1 s−1])

The values of the astrophysical background, usually derived by the IPD process, for the SM window and each AF window of the present transit. Sometimes IPD uses the low-resolution background, for instance when DIPD has detected multiple peaks.

The background is not subtracted from the de-biased sample values in af19_samples. The reasoning here is that, contrary to the de-biasing components of the sample values, this one is not an unprejudiced general property of the Gaia CCDs and electronics, but it is part of the scientific interpretation of the samples in the given window. Thus, a user might wish to derive the background in a way that is different from what IDU IPD has done. On the other hand, users not wanting to do that can simply subtract the given background from the sample values to get a ‘pure’ star signal.

background_err : Background formal error at the centre of these SM and AF windows (float[10] array, Flux[e− pix−1 s−1])

Standard errors of background determined for the SM and AF window centres, derived in the on-ground processing by IDU.

Please note that observations close to a charge injection may be strongly affected by the delayed charge release from the saturated pixels, and thus the background may have a significant variation along the window.

transit_proc_flags : Transit-level information on the processing results (short)

This field contains a set of bitwise flags, coded as follows:

  • •

    Bits 3 to 0 (transit_proc_flags AND 0x000F): IPD strategy and findings. As of IDT 15.1 and until IDT 21.0, as well as in IDU until DRC-02, this field was not used (0 was always stored here). As of IDU DRC-03, the following information is provided:

    ‘0’: Normal IPD. Ambiguity not tested or not detected. Default value for all records produced until IDT 21.0 and IDU until DRC-02

    ‘1’: Multiple Source IPD: As of IDT 21.1, this value is used to indicate that the earlier object in time detected in the window has been selected. In case of 2D windows with larger AC than AL separation between detected peaks: higher mu selected.

    ‘2’: Multiple Source IPD: As of IDT 21.1, this value is used to indicate that the later object in time detected in the window has been selected. In case of 2D windows with larger AC than AL separation between detected peaks: lower mu selected.

    ‘3’: Multiple Source IPD: As of IDU DRC-03, this value is used to indicate that at least one of the windows has a multiple source and that these disturbing sources were masked for the IPD processing. ccd_proc_flags can be checked to know which and how many windows have been affected.

    ‘4’: DIPD: As of IDU 21.0, this value is used to indicate that this object has been obtained using DIPD implementation and thus include a window model template and combined AF solution.

    ‘5’: TukeyBiWeight IPD: this value is used to indicate that this object has been obtained using TukeyBiWeight IPD initialisation for the internal processing subsystem IDU-AttAc; such initial values do not propagate into the published data.

    Values 6-15 are reserved for future extensions.

  • •

    Bits 6 to 4 (0x0070): Bias and PEM OI strategy baseline: this field indicates the Bias mitigation mode requested to process this transit. The consumer must check the corresponding ccd_proc_flags field to determine the actual mode used for each individual CCD as sometimes some modes can not be applied due to missing input data or calibration limitations.

    Value ‘0’: Default initialisation value for the Bias strategy. If found in an AstroElementary it means that something went wrong and the Bias (or maybe just its flagging) was not done appropriately. Thus, ‘0’ means ‘UNDEFINED/FAILURE’.

    Value ‘1’: Only PreScan bias used.

    Value ‘2’: PreScan + common NU baseline.

    Value ‘3’: Full PEM NU.

    Values 4-7 are reserved for future extensions.

  • •

    Bits 10 to 7, colour info:

    Bit 7 (0x0080), default colour: ‘1’ means ‘a default colour used for IPD processing’, which can be caused by some problem in the colour determination or retrieval (e.g. no BP/RP data in IDT or no valid PhotPipe fluxes in IDU).

    Bit 8 (0x0100), epoch colour: ‘1’ means ‘epoch (transit-level) colour used for IPD processing’, ‘0’ means ‘mean (source-level) colour used’.

    Bit 9 (0x0200), single-param colour: ‘1’ means ‘single-parameter colour used for IPD processing’ (such as nu_eff_used_in_astrometry), ‘0’ means ‘multi-parameter colour used’ (such as SSCs).

    Bit 10 (0x0400), colour problems: ‘1’ means ‘missing colour information or dubious colour quatiliy’ (e.g. problematic/missing BP/RP data in IDT, NaN or rejected PhotPipe colour in IDU, etc).

    Please note some remarkable combinations of this bit with Bit 7:

    • –

      Non-default + no problems (Bit 7 = 0, Bit 10 = 0): Good colour from catalogue or epoch data

    • –

      Non-default + problems (Bit 7 = 0, Bit 10 = 1): Dubious colour from catalogue or best approximation from partial or problematic epoch data. Implemented only in IDT.

    • –

      Default + no problems (Bit 7 = 1, Bit 10 = 0): Default colour has been used because no colour information was available (i.e. for blacklisted observations). Implemented only in IDU.

    • –

      Default + problems (Bit 7 = 1, Bit 10 = 1): Default colour used instead of the available colour from catalogue or epoch data (i.e. dubious colour rejected).

  • •

    Bit 11 (0x0800), cosmetic effects flagging: ‘1’ means ‘dead pixel columns affecting some of the windows’.

  • •

    Bit 12 (0x1000), cosmetic effects flagging: ‘1’ means ‘anomalously low samples found in some of the windows’.

  • •

    Bit 13 (0x2000), cosmetic effects flagging: ‘1’ means ‘anomalously high samples found in some of the windows’.

  • •

    Bit 14 (0x4000), problems in initial centroid: ‘1’ means that problems have been found in the Initial Centroids determination. In the case of IDT, combined with the ‘some problem found in the colour determination’ flag (bit 10), it may indicate problems in the TransitPredictor (e.g. predicted position outside window, or no attitude available) in which case a default position is used for colour determination.

  • •

    Bit 15, attitude issues: ‘1’ indicates that some attitude problem was found affecting some of the windows i.e. missing attitude or problems computing AL/AC rates. This flag is only set by IDU which depends on the attitude to access the ELSF and for the combine AF processing in DIPD.

See Chapter 3 of the DR4 online documentation for more information.

We note that in some cases, the transit_proc_flags and ccd_proc_flags for a given transit differ between epoch_image and epoch_astrometry. This is due to differing processing configurations in the production of these two tables. In case of doubt, the version in epoch_astrometry should be considered the more relevant one. Efforts will be taken to avoid such differences in Gaia DR5.

ccd_proc_flags : CCD-level information on the processing results (short[20] array)

This field contains information about the findings in the IPD processing of the SM and AF CCD data. It is included here although no IPD processing has actually been performed on the CCD data given here. The reason is that the IPD findings constitute diagnostic information relevant for any usage of the image data from the CCDs.

The field is defined as an array, with one or more sets of 10 components (one per CCD). The indexes of the components for a given CCD meet the following expression:

s+10⁢k{s[0⁢…⁢9]CCD index [SM…AF9]k[0⁢…⁢n]CCD set index (25.7)

The first set of 10 components (SM has index 0, AF9 index 9) of this array contains a set of bitwise flags, coded as follows:

  • •

    Bits 3 to 0 (ccd_proc_flags AND 0x000F): IPD result. It is coded as follows:

    • –

      ‘0’: Success; the fitting has succeeded without any problem.

    • –

      ‘1’: Illegal Amplitude; invalid amplitude obtained after the initial fitting. It may happen for windows with wrong background determination or similar.

    • –

      ‘2’: Illegal Coordinate; invalid AL or/and AC locations obtained in the fitting i.e. locations outside the window. It may happen for windows close to a charge injection, multiple sources, strongly affected by some cosmic ray or other similar issues.

    • –

      ‘3’: DEPRECATED: Illegal Output; location estimation outside window.

    • –

      ‘4’: Maximum Iteration Exceeded; convergence not reached, but results achieved so far stored in the ‘astro–elementaries’. The IPD result may still be reliable enough.

    • –

      ‘5’: Failed; diverging iteration instead of converging.

    • –

      ‘6’: Missing or unreliable; maybe the processing failed for some reason before finishing the calculations, or the IPD was initialised, but no actual processing has occurred.

    • –

      ‘7’: No LSF/PSF data; no result available due to no LSF/PSF data available.

    • –

      ‘8’: Not Enough Samples; IPD was attempted but no result is available because at a given iteration it runs out of samples (there are not enough inputs to the equations/matrix system).

    • –

      ‘9’: Odd LSF/PSF Success; the fitting has succeeded but using an odd LSF/PSF. The LSF/PSF is considered odd when it is not well defined for some samples. The IPD result may still be reliable enough similar as with the ‘Maximum Iteration Exceeded’ case.

    • –

      ‘14’: Not Attempted; IPD has not been attempted on purpose due to missing gate information, missing CI information or similar or when not enough usable input samples are available due to heavy truncation, CCD edge, complex AOCS update, multiple gates or similar.

    • –

      ‘15’: Crashed; calculation finished and crashed for some reason.

    • –

      Values ‘3’ and ‘10’ to ‘13’: Available for future extensions.

  • •

    Bit 4 (0x0010): IPD nominal/non nominal. ‘1’ indicates the IPD is non-nominal in the sense it has been performed over a reduced window area (details in ccd_proc_geom). This flag is only set for AF windows.

  • •

    Bit 5 (0x0020): IPD not available. ‘1’ indicates that IPD result is not available and thus its output values are not valid. This flag set to true and IPD result equals to NOT_ATTEMPTED (value ‘14’ in bits 3-0) indicates IPD was not attempted on purpose, and with IPD result equals to PENDING (value ‘6’ in bits 3-0) indicates unexpected IPD termination. This flag set to true with any other IPD result should not be possible.

  • •

    Bit 6 (0x0040): Some cosmetic issue. ‘1’ indicates that there is at least one contaminated or discarded sample in the selected window area. This flag collects the presence of additional discarded or contaminated sample without an explicit CCD level flag thus excluding saturation, cosmics, odd debiased, etc.

  • •

    Bit 7 (0x0080): Cosmic removed. ‘1’ means that at least one sample in the selected window area has been discarded for being a suspected cosmic.

  • •

    Bit 8 (0x0100): Saturation removed. ‘1’ means that at least one sample in the selected window area has been discarded due to saturation.

  • •

    Bit 9 (0x0200): Part of window discarded. ‘1’ means that at least one sample has been discarded in the full window area.

  • •

    Bit 10 (0x0400): No window. ‘1’ means ‘no samples available’ (i.e. all the samples in this window were discarded on board, or this is e.g. AF 9 Row 4, or a deactivated CCD, etc).

  • •

    Bit 11 (0x0800): Non-success InitialCentroid. ‘1’ means ‘the Initial Centroid was not successful, and thus we have used the centre of the window as the start condition of IPD’.

  • •

    Bit 12 (0x1000): Odd Background found. ‘1’ indicates that the background determined for this window (for at least one of its samples) was odd i.e negative, too large or NaN. This flag may be used to indicate that the fluxes determined for this window are potentially wrong (although its AL/AC centroid may still be useful).

  • •

    Bit 13 (0x2000): fall-back to lower Bias Mitigation mode. ‘1’ indicates that ‘fall-back’ to lower mode has occurred for this window (for at least one of its samples). This flag will always be activated for AF1 when FULL_MITIGATION mode is enabled because this mode is not supported in this CCD.

  • •

    Bit 14 (0x4000): non-target source removed. ‘1’ indicates that non-target sources have been detected and masked in this window.

  • •

    Bit 15 (0x8000): LSF/PSF observation/source parameters clamped. ‘1’ indicates that the observation/source parameters used to access the LSF/PSF have been clamped to fit the ELSF parameter space.

The second set of 10 components (SM has index 10, AF9 index 19) of this array contains a set of bitwise flags, coded as follows:

  • •

    Bit 0 (0x0001): Odd debiased sample. ‘1’ indicates that there is at least one debiased sample below −T⁢D⁢N2 (total detection noise) limit.

  • •

    Bit 1 (0x0002): Numerical overflow recovery: ‘1’ indicates that there is at least one sample for which the numerical overflow has been corrected (only applicable in SM and AF1).

  • •

    Bit 2 (0x0004): ELSF reliability mask: ‘1’ indicates that at least one sample has been discarded in IPD because the corresponding ELSF model is sub-optimal in that region.

  • •

    Bits 3 to 5 (0x0038); Number of saturated samples discarded. For AF it codes from 0 up to 7 or more masked samples and for SM it codes the position of the most significant bit of the masked sample count and thus coding 0, 1, 2 or 3, 4 to 7, up to 64 samples or more.

  • •

    Bit 6 (0x0040): Background Mode: ‘0’ indicates background has been fitted along with location and flux parameters whereas ‘1’ indicates that a different overall background estimation has been used i.e. KNN background in regular IPD or specific background module for SIF CF.

  • •

    Bit 7, 0x0080), Charge injection (CI) distance updated: indicating that the charge injection distance parameter has been redetermined and it does not match the original one in the raw data.

  • •

    Bit 8, 0x0100). Non-gated CI line: indicating that at least one non-gated charge injection is within the window.

See Chapter 3 of the DR4 online documentation for more information.

We note that in some cases, the transit_proc_flags and ccd_proc_flags for a given transit differ between epoch_image and epoch_astrometry. This is due to differing processing configurations in the production of these two tables. In case of doubt, the version in epoch_astrometry should be considered the more relevant one. Efforts will be taken to avoid such differences in Gaia DR5.

ccd_proc_geom : CCD-level information on the processing geometry used (int[10] array)

This field contains an array, with one component per CCD (SM has index 0, AF9 index 9). It indicates, per CCD, the ‘geometry’ of the area actually processed by the IPD.

Each of the components of the array contains a set of bitwise fields, coded as follows:

  • •

    Bits 5-0 (0x0000003F): width (samples) of the sub-window used in the IPD.

  • •

    Bits 9-6 (0x000003C0): height (samples) of the sub-window used in the IPD.

  • •

    Bits 16-10 (0x0001FC00): AL offset (samples) of the sub-window used in the IPD.

  • •

    Bits 20-17 (0x001E0000): AC offset (samples) of the sub-window used in the IPD.

  • •

    Bits 31-21: spare bits, available for user-defined flags or future extensions.

This field always contains the actual dimensions of the SM sub-window used in IPD (8 AL samples for window class 0 and 4 AL samples for window class 1 by default). Note that, contrary to AF cases, the ccd_proc_flags[] bit 4 is never set to true for SM.

See Chapter 3 of the DR4 online documentation for more details.

scan_pos_angle : Position angle of the scan (double[10] array, Angle[deg])

Position angle θ of the scan for each of the CCD transits.

This angle uniquely determines the transformation between the local celestial coordinates (a,d) and the local scan coordinates (w,z) in the tangential plane touching the celestial sphere at (ra0,dec0). See Hernandez et al. (2026) for details. The scan angle varies along a FoV transit. In contrast, the parallax factors are sufficiently constant over a transit.

The sine and cosine of θ are the derivatives of the along-scan local plane coordinate w with respect to right ascension and declination, respectively.

Please note the remark in the 6th paragraph of the table description.

parallax_factor_al : Parallax factor AL (float)

Parallax factor in the AL direction (w), needed to use the local plane coordinates for detailed object modelling.

The parallax factor fw is the derivative of the along-scan local plane coordinate w with respect to the parallax. See Hernandez et al. (2026) for details.

The parallax factors need not be an array of values per CCD, as they are sufficiently constant over a FoV transit. Thus it was decided that the parallax factors are computed for the AF4 CCD transit time (or for an immediately adjacent CCD in case the AF4 IPD should happen to fail).

Please note the remark in the 6th paragraph of the table description.

parallax_factor_ac : Parallax factor AC (float)

Parallax factor in the AC direction (z) needed to use the local plane coordinates for detailed object modelling.

The parallax factor fz is the derivative of the across-scan local plane coordinate z with respect to the parallax. See Hernandez et al. (2026) for details.

The parallax factors need not be an array of values per CCD, as they are sufficiently constant over a FoV transit. Thus it was decided that the parallax factors are computed for the AF4 CCD transit time (or for an immediately adjacent CCD in case the AF4 IPD should happen to fail).

Please note the remark in the 6th paragraph of the table description.

n_samp_al : Number of samples AL (byte[10] array)

Array with numbers of samples per window in AC direction. It is to be noted that the value always refers to the normal window size according to g_class, i.e. it does not take into account any truncation of the windows.

n_samp_ac : Number of samples AC (byte[10] array)

Array with numbers of samples per window in AC direction. It is to be noted that the value always refers to the normal window size according to g_class, i.e. it does not take into account any truncation of the windows.

sample_pos_al : Local plane coord. of samples (0, 0) AL (float[10] array, Angle[mas])

For each CCD transit the AL local coordinate w0 of the first sample (0,0) of the window; see Hernandez et al. (2026) for details.

There is a known issue: Among the ≃1012 entries of sample_pos_al in the table, there is a very small portion with grossly deviating values. Such values may be caused by excursions of the attitude modelling at the start and end of data gaps. For more information see the description of sample_size_al. On the user side, the obvious way to avoid the problem is to simply ignore the very few records where sample_pos_al is unreasonably large.

sample_pos_ac : Local plane coord. of samples (0, 0) AC (float[10] array, Angle[mas])

For each CCD transit the AC local coordinate z0 of the first sample (0,0) of the window; see Hernandez et al. (2026) for details.

There is a known issue: Among the ≃1012 entries of sample_pos_ac in the table, there is a very small portion with grossly deviating values. Such values may be caused by excursions of the attitude modelling at the start and end of data gaps. For more information see the description of sample_size_al. On the user side, the obvious way to avoid the problem is to simply ignore the very few records where sample_pos_ac is unreasonably large.

sample_size_al : Sample sizes AL (float[10] array, Angle[mas])

For each CCD transit the AL sample size Δ⁢w. See Hernandez et al. (2026) for details.

There is a known issue: Among the ≃1012 entries of sample_size_al in the table, there may be a very small portion with grossly deviating values. The normal values are around 58.9 mas, with a very small scatter due to the tiny variations of the scan speed and to the image rotation caused by the precession of the spin axis. Grossly deviating values may be caused by excursions of the attitude modelling at the start and end of data gaps. The same effect created the very small number of extremely large values of centroid_pos_al in epoch_astrometry: There are a total of 16,437,562 cases where centroid_pos_al is beyond the range allowed by the window size, and a few taking exceptionally large values. Notably, there are 208 transits where the max value of epoch_astrometry.centroid_pos_al exceeds 109 mas.
On the user side, the obvious way to avoid the problem is to simply ignore the very few records where sample_size_al deviates from the usual values by more than, say, 0.1 mas.

sample_size_ac : Sample sizes AC (float[10] array, Angle[mas])

For each CCD transit the AC sample size Δ⁢z. See Hernandez et al. (2026) for details.

There is a known issue: Among the ≃1012 entries of sample_size_ac in the table, there is a small portion with grossly deviating values. While the normal values are around 177  mas (with small variations due to focal-length changes and to optical distortion in the fields of view), the grossly deviating values reach up to several thousand mas, and there are 82986 transits with negative values even (only one of the 10 values in each case). These deviating values are caused by occasionally big discontinuities of the calibration model at the CCD stitch boundaries. The majority of the cases concern SM CCDs, because their calibration is less precise and less reliable than for AF CCDs. For DR5, efforts will be taken to mitigate the problem. A complete solution will probably not be possible, however.
On the user side, there are several conceivable ways to avoid the problem, with increasing complexity: 1) Ignore all records where sample_size_ac deviates from the usual values by more than, say, 1 mas. — 2) If any problematic record is of especially high scientific interest, try using it by replacing the deviating sample_size_ac by the nominal value of 176.8 mas. Note that for AF1 twice this value is applicable, and for SM twice and four times this value, depending on g_class. — 3) Collect the sample_size_ac from neighbouring transits (same CCD, similar μ coordinate but with normal sample_size_ac, and within a few seconds in time) and use their median value. This latter method takes focal-length variations and the local optical distortion into account.

shear_term_al : Shear terms AL (float[10] array, Angle[mas])

For each CCD transit the AL shear term cw. See Hernandez et al. (2026) for details.

shear_term_ac : Shear terms AC (float[10] array, Angle[mas])

For each CCD transit the AC shear term vz. See Hernandez et al. (2026) for details.