pynbody.gravity.calc.midplane_rot_curve#
- pynbody.gravity.calc.midplane_rot_curve(f: SimSnap, rxy_points: ndarray, eps: float | SimArray | None = None)[source]#
Calculate the rotation curve of a disk galaxy in the x-y midplane (with z=0)
- Parameters:
f – The snapshot to calculate the rotation curve for
rxy_points – A list or array of radii at which to calculate the rotation curve, in the xy-plane
- Returns:
v – The rotation curve at the specified radii
- Return type: