Improving NASA/IPAC Extragalactic Database Redshift Calculations
Abstract
The NASA/IPAC Extragalactic Database (NED) is an impressive tool for finding near-exhaustive information on millions of astrophysical objects. Here, we outline a small systematic error that occurs in NED because a low-redshift approximation is used when making the correction from redshifts in the heliocentric frame to the cosmic microwave background (CMB) rest frame. It means that historically NED systematically misreported the values of CMB-frame redshifts by up to (about 0.001 at redshift of 1). This is a systematic error, and therefore the impact on applications requiring precise redshifts has the potential to be significant—for example, a systematic redshift error of at low redshift could resolve the Hubble tension. We have consulted with the NED team and they are updating the software to remove this systematic error so these corrections are accurate at all redshifts. Here, we explain the changes and how they impact the redshift values NED currently reports.
1 Introduction
Redshifts are absolutely fundamental to cosmology, and have been so “easy” to precisely measure for so long (e.g., Slipher, 1921; Zwicky, 1933; Tonry & Davis, 1979) that the uncertainties in redshifts are often neglected, certain approximations generally remain in use and some forms of potential systematic error remain unaccounted for (Wojtak et al., 2015; Davis et al., 2019). As other measurements become more precise, systematic errors in redshift are becoming more relevant. Perhaps the most topical and applicable problem we face in cosmology is the tension in the Hubble constant () between local and global measurements (Freedman et al., 2019; Riess et al., 2019; Planck Collaboration et al., 2020; Wong et al., 2020). Systematic errors in redshift as small as 10-4 could go partway in reconciling (or worsening) the controversy (Davis et al., 2019) since very small systematic redshift offsets—especially if they occur at low redshift—can have a large impact on the inferred cosmological parameters.
The NASA/IPAC Extragalactic Database (NED)111https://ned.ipac.caltech.edu/ keeps track of many redshifts used for cosmology. In this paper we describe improvements to the computations needed to remove a systematic error in the reporting of redshifts corrected to the cosmic microwave background (CMB) reference frame. We have also worked with NED staff to update the help pages so those performing heliocentric corrections with NED or other data are aware of the correct method that is accurate at all redshifts. While the error is small and will have been negligible for most applications (e.g. Glanville et al., 2021), it is important to correct since systematic effects could propagate out to inferred cosmological parameters (Colless, 1995; Wojtak et al., 2015; Calcino & Davis, 2017; Chaves-Montero et al., 2018; Steinhardt et al., 2020).
2 Theory
NED currently uses an additive approximation to combine different sources of redshift. In this approximation, is treated as an additive combination of the redshift due to cosmological expansion and the redshift due to our Sun’s (or more correctly the solar system’s barycentre) peculiar motion with respect to the CMB. When this approximation is used we give the superscript ‘’, so
(1) |
However, the correct way to combine redshifts is to multiplicatively combine factors of . This is due to the definition of redshift as the ratio of observed to emitted wavelength (see, e.g., Davis et al., 2019, Section 2.3 for an explanation). When this precise equation is used we give the superscript ‘’, so
(2) |
Expanding this second equation out and subtracting Eq. (1),
(3) |
Thus, the difference between using the additive approximation and the correct multiplicative equation is exactly . A summary of symbols can be found in Table 1.
The redshift due to our Sun’s motion of about km s-1 (Planck Collaboration et al., 2020) peaks in the direction of motion at . Therefore at low redshift, when and the approximate are small, their difference is negligible. By , however, the error is on the order of 10-3, which is an order of magnitude larger than most reported statistical errors in spectroscopic redshifts. The systematic error remains even when using photometric redshifts, which generally have uncertainties —an underlying systematic error by its definition will not be mitigated by averaging over many measurements.
Thankfully, despite this error growing larger with redshift, the impact on measurements from standard candles shrinks; these measurements are more strongly impacted by low-redshift systematic errors (Wojtak et al., 2015; Davis et al., 2019). Nevertheless, it remains important to remove entirely as it will impact other measurements such as whether dark energy is time varying.
Symbol | Name | Description |
---|---|---|
Generic recession velocity; redshift | ; | Recession velocity (that appears in the Hubble–Lemaître law) and redshift due to the expansion of the universe. The recession velocity is related to the recession redshift through Eq. (5). |
Generic peculiar velocity; redshift | ; | Peculiar velocity and redshift due to motions that deviate from the Hubble flow. Can refer both to our peculiar motion and the peculiar motion of objects we are observing. |
Observed redshift | The redshift of an object in the heliocentric frame, as given by NED. Contains contributions from the object’s and our own peculiar motion relative to the CMB, and the object’s recession. (Note this is not strictly observed redshift, as the velocity of the Earth relative to the Sun is generally removed.) | |
CMB-frame redshift derived multiplicatively | The redshift of the object after correcting for our peculiar motion relative to the CMB using Eq. (2). May still have contributions from the object’s peculiar motion. This is the correct CMB-frame redshift. | |
CMB-frame redshift derived additively | The approximate redshift of the object after correcting for our peculiar motion relative to the CMB using Eq. (1). This is a poor approximation at high . | |
Sun’s peculiar redshift/velocity | ; | An object’s peculiar velocity and peculiar redshift due to the peculiar velocity of the Sun in the direction of the object, relative to the CMB. Note that when is positive, is negative. |
Sun’s velocity toward dipole | The magnitude of the Sun’s velocity in the CMB frame, related to through Eq. (6). | |
Separation from dipole | The on-sky angular separation of an object from the direction of the CMB dipole. |
Note. — In addition to the base symbols, superscripts of ‘Planck’ and ‘COBE’ will often be added when referring to a parameter whose value changes depending on the dipole value used.
2.1 Velocities
Velocities are a complex topic in cosmology because they are coordinate dependent and we generally use coordinates that violate some of our naïve expectations of velocity behavior. This is in contrast to redshifts, that are observable, dimensionless ratios and thus unambiguous.
The low-redshift approximation is appropriate for both peculiar velocities and (small) recession velocities. However, the two types of velocities are quite different. Peculiar velocities, , are measured with respect to a local Minkowski (special relativistic) frame, and thus the redshift induced by a velocity obeys the special relativistic Doppler shift formula,
(4) |
On the other hand, the recession velocity that appears in the Hubble–Lemaître law, , cannot be described in any inertial frame. It can be derived from the Friedmann–Lemaître–Robertson–Walker metric as the purely expansion component of the time derivative of proper distance, (Davis & Lineweaver, 2004). The other component, from changes in comoving coordinate caused by gravitation, are the peculiar velocities above. Indeed for to be true at any , must be allowed to exceed the speed of light. (An analogous situation occurs with superluminal infall velocities of “space” inside a black hole, which is why light cannot escape.) This is a standard result, which is a requirement for homogeneity and isotropy, and does not violate relativity. Thus recession velocities do not obey the special relativistic Doppler shift formula, but are instead calculated by integrating over the expansion rate of the universe during the photon’s propagation (Harrison, 1993),
(5) |
where the dimensionless Hubble parameter (Peebles, 1993; Ryden, 2003) with being the Hubble parameter at the time of emission from a galaxy at redshift , being the normalized density of component of the universe, and being that component’s equation of state. It is interesting to note that the recession velocity as a function of redshift is actually independent of .
The total velocity, , of an object moving away from us can be accurately calculated as (Davis & Lineweaver, 2004). The common additive approximation for redshifts comes from dividing this equation by and applying the low- approximation . However, given the current precision of other measurements, this will be a poor approximation for any redshift higher than .
2.2 Converting Heliocentric Redshifts to the CMB Frame
To correct to the CMB frame requires finding . The motion of the solar system adds a peculiar redshift to every object. That peculiar redshift is highest for objects that are in or directly opposite the direction of motion, resulting in a maximum of order 10-3. The effective radial peculiar velocity of any object is the projection of the Sun’s velocity vector on the position vector of the object,
(6) |
where represents the projection of the Sun’s peculiar velocity along the line of sight to the object, is the object’s position vector, and is the angle separating the dipole direction and the object.222The formula for the angular separation, , in terms of galactic longitude and latitude, , is (7) where correspond to the dipole direction. An equivalent calculation that is more numerically stable at very small and large separations is the Vincenty formula (Vincenty, 1975), for which we use Astropy’s SkyCoord implementation. Setting , it reads as (8)
We define both recession and peculiar velocities to be positive when they are moving away from us. Note that in the case of our own motion, a positive velocity gives a negative redshift (blueshift) because we are moving toward the object being observed.
Since the Sun’s velocity is small (order of 102 km s-1) compared to , the low- approximation can be used. However, there is negligible computational disadvantage to using the full special relativistic calculation Eq. (4),
(9) |
The minus signs before have been left explicit to ensure that a zero separation ( in Eq. (6)) results in the object appearing blueshifted due the our positive velocity toward it. For the purposes of the plots and equations in this paper, we emphasize that we use the approximation purely for clarity and so our comparisons with NED are cleaner (since it makes negligible difference relative to the size of the other discrepancies).

2.3 Multiple CMB Dipole Measurements
The correction requires the direction and magnitude of the CMB dipole, which was measured in 2018 by the Planck Collaboration (Planck Collaboration et al., 2020) to be in the direction of with a velocity km s-1. However, NED currently uses the older measurement of the dipole by the Cosmic Background Explorer (COBE) satellite (Fixsen et al., 1996), with a velocity km s-1.333https://ned.ipac.caltech.edu/Documents/Guides/Calculators
We compare the different combinations of dipole and heliocentric correction form below. Performing the multiplicative correction, Eq. (2), with the modern dipole measurement is naturally the most accurate. However, we show explicitly NED uses the additive expansion, Eq. (1), and the COBE dipole. In doing so, we demonstrate the size of the resulting systematic errors currently in NED, as well as in the cases of only updating the heliocentric correction form or dipole separately.
3 Testing NED Redshifts
To test NED redshifts we examine two different data selections. The first takes objects on a great circle encompassing the dipole direction and its antipode (1.5∘ wide), and the second samples the equatorial plane (0.6∘ wide), see Fig. 1. As we detail below, adding an equatorial sample is helpful for understanding how errors in the heliocentric correction behave in different parts of the sky.
The combined data set was retrieved using NED in five parts, by splitting the dipole sample into two parts and the equatorial plane into three, for a total of nearly 197,000 objects. The equatorial sample had to be split into more parts to avoid the queries timing out, as there were nearly an order of magnitude more objects than in the dipole sample. At the time of retrieval, two XML VOTable files each were required for each data part; one contained the measured parameters, including , and the other contained derived data such as , to compare to our calculations. The search criteria in addition to sky position included that the object be a NED classified extragalactic object—excluding Galaxy Groups and QSO Groups—with an available redshift. Despite requesting only extragalactic objects, some objects with negative redshift contaminated the sample. However, this does not pose a problem since all equations are equally valid for negative redshifts (even if the objects are too local to apply the heliocentric correction).
At the time of writing, the object search process has been altered so that only heliocentric velocities and redshifts can be queried in bulk.
3.1 Analytic Calculations Compared to Data








In Figs. 2–5, we compare the CMB redshifts from NED to the CMB redshifts we calculate. We begin by confirming that NED currently uses the additive redshift calculation and the COBE dipole. In Fig. 2, we show there is negligible difference in since the absolute error only reaches 5. This error comes purely from comparing the NED redshifts, that are rounded to six decimal places, with our non-rounded calculations.
We then improve on the NED redshifts by using the full multiplicative heliocentric correction and the Planck dipole. Using the multiplicative redshift calculations results in a redshift difference between our calculations and NED’s on the order of 10-3(Fig. 3), while changing the dipole results in a redshift difference on the order of 10-6–10-5 (Figs. 4 and 5). Correcting the current NED CMB redshift calculation is therefore the most important change, while updating the COBE dipole is a valuable but subtle change.
Figure 3 shows the full difference between the Planck dipole with multiplicative redshift calculation, and the COBE dipole with additive redshift calculation. That is the difference between Eq. (2) and Eq. (1) that we calculate analytically to be
(10) |
Recall that the dipoles differ in both magnitude and direction so there are the two separate expressions for the Sun’s peculiar redshift , and similar for COBE. We show in Fig. 3 these analytic calculations (Eq. (10)) by varying either or , as dashed lines. The excellent agreement when replacing with confirms that indeed .
Figure 4 highlights only the difference caused by using the Planck dipole over COBE. For the purposes of this demonstration we calculate the CMB redshift using the additive approximation, but with the Planck dipole. The difference should therefore be
(11) |
The more complicated shape shown in the left panel of Fig. 4 is caused by this difference in two cosines (the different dipole directions) and very clearly shows the difference between the two data samples. The dipole plane sample has a small variation about the central sinusoid since the Planck dipole is very close to the COBE dipole, but the slight offset of roughly 0.1∘ causes a single value of to correspond to two slightly different . The equatorial sample has the larger variation because closest sky position to the dipoles is 6∘ away.
Figure 5 again compares the two dipoles, but this time using the correct multiplicative redshift calculation for both,
z_CMB^×,Planck | ||||
Comparing to would be only imperceptibly different from Fig. 3, so instead we opt to show the difference purely caused by the dipoles. This is essentially Fig. 4 and Eq. (11) with a multiplicative factor. Therefore, using the full heliocentric correction with the outdated dipole measurement actually also multiplies the error. Note, however, that the sign of error when comparing dipoles is opposite to the additive versus multiplicative correction. The increased error here then cancels slightly more with the heliocentric correction form error (albeit still two orders of magnitude smaller).
4 Conclusion
The additive approximation to calculate the cosmological redshift was reasonable in the past when the correction was first implemented in NED, but this is no longer the case with the high redshifts of modern data. At a redshift of only 0.1, the error in correcting heliocentric redshifts to the CMB reference frame using the additive approximation is on the order of 10-4, and this increases linearly with redshift (Fig. 3).
A systematic error at that level would noticeably affect standard candle derivations of if it were at low redshift. The measurements are not likely to be strongly impacted, however, both because this correction is small at low and because standard candle measurements come from many directions on the sky, so the positive and negative errors tend to cancel out. However, surveys that cover a small area of the sky are more likely to be biased by this effect. High supernova surveys, that tend to monitor small patches of sky, will be more significantly affected (both because of their high redshifts and the narrow range). Correcting this is therefore most important for measuring features such as the equation of state of dark energy.
Finally, we acknowledge that the additive equations and COBE dipole are still used by many in the broader community beyond NED. We recommend dispensing with these approximations and using the full multiplicative equation to calculate CMB-frame redshifts, while also using the up-to-date Planck dipole. These are trivial changes to implement but has the potential to avoid significant errors in resulting analyses.
References
- Calcino & Davis (2017) Calcino, J., & Davis, T. 2017, J. Cosmology Astropart. Phys, 2017, 038, doi: 10.1088/1475-7516/2017/01/038
- Chaves-Montero et al. (2018) Chaves-Montero, J., Angulo, R. E., & Hernández-Monteagudo, C. 2018, MNRAS, 477, 3892, doi: 10.1093/mnras/sty924
- Colless (1995) Colless, M. 1995, AJ, 109, 1937, doi: 10.1086/117419
- Davis et al. (2019) Davis, T. M., Hinton, S. R., Howlett, C., & Calcino, J. 2019, MNRAS, 490, 2948, doi: 10.1093/mnras/stz2652
- Davis & Lineweaver (2004) Davis, T. M., & Lineweaver, C. H. 2004, PASA, 21, 97, doi: 10.1071/AS03040
- Fixsen et al. (1996) Fixsen, D. J., Cheng, E. S., Gales, J. M., et al. 1996, ApJ, 473, 576, doi: 10.1086/178173
- Freedman et al. (2019) Freedman, W. L., Madore, B. F., Hatt, D., et al. 2019, ApJ, 882, 34, doi: 10.3847/1538-4357/ab2f73
- Glanville et al. (2021) Glanville, A., Howlett, C., & Davis, T. M. 2021, MNRAS, 503, 3510, doi: 10.1093/mnras/stab657
- Harrison (1993) Harrison, E. 1993, ApJ, 403, 28, doi: 10.1086/172179
- Peebles (1993) Peebles, P. J. E. 1993, Principles of Physical Cosmology, Princeton series in physics (Princeton University Press)
- Planck Collaboration et al. (2020) Planck Collaboration, Aghanim, N., Akrami, Y., et al. 2020, A&A, 641, A1, doi: 10.1051/0004-6361/201833880
- Riess et al. (2019) Riess, A. G., Casertano, S., Yuan, W., Macri, L. M., & Scolnic, D. 2019, ApJ, 876, 85, doi: 10.3847/1538-4357/ab1422
- Ryden (2003) Ryden, B. S. 2003, Introduction to Cosmology (Addison-Wesley)
- Slipher (1921) Slipher, V. M. 1921, PA, 29, 128
- Steinhardt et al. (2020) Steinhardt, C. L., Sneppen, A., & Sen, B. 2020, ApJ, 902, 14, doi: 10.3847/1538-4357/abb140
- The Astropy Collaboration et al. (2018) The Astropy Collaboration, Price-Whelan, A. M., Sipőcz, B. M., et al. 2018, AJ, 156, 123, doi: 10.3847/1538-3881/aabc4f
- Tonry & Davis (1979) Tonry, J., & Davis, M. 1979, AJ, 84, 1511, doi: 10.1086/112569
- Vincenty (1975) Vincenty, T. 1975, Survey Review, 23, 88, doi: 10.1179/sre.1975.23.176.88
- Wojtak et al. (2015) Wojtak, R., Davis, T. M., & Wiis, J. 2015, J. Cosmology Astropart. Phys, 2015, 025, doi: 10.1088/1475-7516/2015/07/025
- Wong et al. (2020) Wong, K. C., Suyu, S. H., Chen, G. C. F., et al. 2020, MNRAS, 498, 1420, doi: 10.1093/mnras/stz3094
- Zwicky (1933) Zwicky, F. 1933, AcHPh, 6, 110