Recipe
Python
Beginner
10 min
Fit a galaxy rotation curve with curve_fit: the dark matter in NGC 3198
Afterwards you can fit a rotation curve as disk, gas, and dark halo added in quadrature with curve_fit and report the dark matter fraction with its error.
Curve fitting
Physics