SgrA Black Hole Stellar Orbit Explorer

Live Script illustrating fits to observations of stars orbiting the black hole in the center of the Milky Way.
6 Downloads
Updated 7 Jul 2025

View License

Observations and analysis of motions of stars around the black hole at the center of the Milky Way galaxy were the basis for the 2020 Nobel Prize in Physics awarded to Reinhard Genzel and Andrea Ghez. The observations include the angular positions of target stars relative to reference stars from high-resolution infrared imaging and the velocity along the line of sight at various times using Doppler spectroscopy. For most of these stars, only a fraction of an orbit has been observed. A challenge is to fully reconstruct the orbits in three dimensions, each described by seven orbital elements, from limited observations.
This educational Live Script compares angular and radial velocity observational data to professional fit results for numerous stars with visualizations that bring the data to life. A refined fit is used to extract the estimates of the mass of the black hole star by star. The script may interest students and instructors of physics and astronomy especially. A related script [1] provides additional information, a simulation of observations, and an example of the fitting procedure in general use. Additional educational Live Scripts by the author may be found here.

Cite As

Duncan Carlsmith (2025). SgrA Black Hole Stellar Orbit Explorer (https://uk.mathworks.com/matlabcentral/fileexchange/181435-sgra-black-hole-stellar-orbit-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

SgrABlackHoleStellarOrbitExplorer folder

Version Published Release Notes
1.0.0