Observations do not give the kind of physical quantities that we can directly pull from simulations. There is usually no direct way to measure masses, densities, temperatures, etc. Instead we must rely on (often uncertain) conversions between observable quantities and physical ones.
Stellar Mass
In a perfect world, we would have a simple mass-to-light ration that would let us simply observe the luminosity of a galaxy and obtain the stellar mass as . Unfortunately, depends on the age and metallicity of a stellar population, and most visible/UV wavelengths are susceptible to extinction.
The closest we have to the perfect conversion factor is in the near infrared (NIR), at , where Lelli et al. 2016.
Working in the optical is much more contentious. For example, if we take equation 9 from Nazarova et al. 2025, we can estimate the stellar mass of a galaxy with and [Filtered magnitudes, we can estimate the stellar mass as:
Gas Mass
Atomic Hydrogen (HI)
HI is relatively easy to measure, as it has an optically thin radio line at 21 cm (1421 MHz). Radio observations are also handy because they are inherently spectra: every radio telescope is also an IFU. If we measure a peak 21cm flux in Janskys, and a velocity width of in km/s, the HI mass for an object Mpc away is given in equation 2 of Giovanelli et al. 2005 as:
Molecular Hydrogen ()
This one is much tougher, because molecular hydrogen isn’t very bright.