Skip to content

Documentation / @interstellar-tools/constants / GALAXIES

Variable: GALAXIES ​

ts
const GALAXIES: GalaxiesType;

Defined in: bodies/galaxies.ts:58

Represents a collection of galaxies within the space visualization.

INFO

  • Units: diameter and distance in light-years (ly); black hole radius, x, y, z in astronomical units (au).

  • distance is from the Sun: Cepheids for Andromeda (Li et al. 2021) and Triangulum (Breuval et al. 2023), eclipsing binaries for the Large and Small Magellanic Clouds (Pietrzyński et al. 2019, Graczyk et al. 2020), Vasiliev & Belokurov 2020 for the Sagittarius dwarf, the EHT's 16.8 Mpc for M87, and red giants for Centaurus A (Harris et al. 2010).

  • direction is the galactic longitude l and latitude b of its centre, seen from the Sun, from NED. The Milky Way has none: the Sun is in it. For the Large Magellanic Cloud it's the optical centre of its bar, 0.9° from the centre its stars and gas turn about. For the Sagittarius dwarf it's the centre of Ibata, Gilmore & Irwin (1994), 5.3′ from M54, the cluster at its heart.

  • Both distance and direction are from the Sun, where they're measured. To draw the galaxies around the Milky Way's centre, convert them with galactocentricPosition in @interstellar-tools/equations, which uses SUN_GALACTOCENTRIC_DISTANCE and SUN_HEIGHT_ABOVE_GALACTIC_PLANE.

  • disk is how a disk galaxy's disk is turned on the sky, from the motions of its gas or stars: its inclination, the position angle of its receding half, and of its nearer side where that's known. Andromeda's inclination is 77.7° (Corbelli et al. 2010); Chemin et al. (2009) measure 74.3°, from H I further in, and Corbelli et al. find theirs closer to the optical shape. Which side of Triangulum is nearer isn't settled, and the Small Magellanic Cloud's stars don't form a clear disk, so neither has a nearSide. The Sagittarius dwarf, M87 and Centaurus A have no disk to turn: Centaurus A's dust disk is warped, and crosses edge-on.

  • motion is the velocity along the line of sight, in km/s, positive moving away, and for the Local Group, the proper motion across the sky in mas/yr: from Gaia and HST, measured against distant quasars. Combined with the Sun's own motion, SUN_GALACTOCENTRIC_VELOCITY, they give each galaxy's 3D velocity around the Milky Way's centre. Across the sky, 10 µas/yr is 36 km/s at Andromeda's distance, so its sideways speed is uncertain by about 40 km/s; the Magellanic Clouds' and the Sagittarius dwarf's by a few km/s.

  • diameter is the D25 isophotal diameter, where the disk fades to 25 B-magnitudes per square arcsecond: from RC3 (de Vaucouleurs et al. 1991) and the distance, and an estimate from a model of its disk for the Milky Way (Goodwin, Gribbin & Hendry 1998). The stars reach further out. The Sagittarius dwarf, which the Milky Way is tearing apart, has no such edge: its diameter is its half-light diameter (McConnachie 2012).

  • Black hole mass is in solar masses (M⊙), and radius is its Schwarzschild radius, 2GM/c2. Each black hole sits at its galaxy's centre, x, y and z 0. Sagittarius A* has an id, so the S-stars in STARS can orbit it, its mu, its distance from the Sun (GRAVITY Collaboration 2024), and the diameter of the ring the Event Horizon Telescope imaged (EHT 2022). M87*, the first black hole it imaged, has its ring's diameter too (EHT 2019). Triangulum has none: observations limit its mass to 1500 M⊙ (Gebhardt et al. 2001). None is detected in the Magellanic Clouds or the Sagittarius dwarf.

  • Sources: compiled from public references, mainly NASA, NASA JPL, ESA and Wikipedia. See data sources.

Full list of galaxies in the dataset ​

This list is not an exhaustive list, and addition/changes will be added over time.

idnametypediameterdistancedirection.ldirection.bdisk.inclinationdisk.positionAnglemotion.radialVelocityblackHole.nameblackHole.massblackHole.radiusblackHole.xblackHole.y
milky-wayMilky WaySBbc87410 ly0 lySagittarius A*4299600 M_sun0.08488 au0 au0 au
andromedaAndromedaSA(s)b137570 ly2482050 ly121.1744-21.57377.738-300M31*1400000 M_sun2.764 au0 au0 au
triangulumTriangulumSA(s)cd56420 ly2739714 ly133.6101-31.330654201.3-180
large-magellanic-cloudLarge Magellanic CloudSB(s)m30377.1 ly161740.95 ly280.4652-32.888434.1309.9262.2
small-magellanic-cloudSmall Magellanic CloudSB(s)m pec18733.3 ly203652.04 ly302.797-44.29935166145.6
sagittarius-dwarfSagittarius Dwarf Spheroidal GalaxydSph(t)17197.1 ly86431.44 ly5.5689-14.1664142
m87Messier 87E+0-1 pec132574.9 ly5479427.45 ly283.777774.49121284M87*6500000 M_sun128.318 au0 au0 au
centaurus-aCentaurus AS0 pec92669.2 ly1239394.35 ly309.515919.4173547Centaurus A*5500000 M_sun1.08577 au0 au0 au

Example item in dataset:

ts
{
  id: 'milky-way',
  name: 'Milky Way',
  type: 'SBbc', // Barred spiral (McConnachie 2012)
  /** D25 diameter in light-years: 26.8 kpc, an estimate from a model of its disk */
  diameter: { value: 87410, unit: 'ly' },
  /** Distance from the Sun: 0, the Sun is in it */
  distance: { value: 0, unit: 'ly' },
  /** Supermassive black hole at the center. */
  blackHole: {
    id: 'sagittarius-a-star',
    name: 'Sagittarius A*',
    /** Mass in solar masses: GRAVITY Collaboration 2024 */
    mass: { value: 4.2996e6, unit: 'M_sun' },
    /** G·M in m³/s², from its mass and the Sun's GM */
    mu: 5.70610407201485e26,
    /** Schwarzschild radius in au */
    radius: { value: 0.08488, unit: 'au' },
    /** Distance from the Sun in light-years: R₀ = 8275.9 ± 8.6 pc, fitted with its mass */
    distance: { value: 26992.38, unit: 'ly' },
    /** The ring the Event Horizon Telescope imaged: 51.8 ± 2.3 μas (EHT 2022) */
    ringDiameter: 2.511334868e-10 as Radians,
    x: { value: 0, unit: 'au' },
    y: { value: 0, unit: 'au' },
    z: { value: 0, unit: 'au' }
  }
},

See ​

GalaxiesType.

Example ​

ts
console.log(GALAXIES[0].name); // "Milky Way"