cyl_coords

clustertools.util.coordinates.cyl_coords(cluster)[source]

Get the cylindrical coordinates of every star in the cluster

Parameters:
clusterclass

StarCluster

Returns:
r, theta, z, vr, vtheta, vzfloat

stellar positions and velocities in cylindrical coordinates