to_tail¶
- clustertools.tidaltail.tails.to_tail(cluster)[source]¶
- Calculate positions and velocities of stars when rotated such that clusters velocity vector
points along x-axis
no change to coordinates in StarCluster
- Parameters:
- clusterclass
StarCluster
- Returns:
- x_tail,y_tail,z_tail,vx_tail,vy_tail,vz_tailfloat
rotated coordinates with cluster’s velocity vector point along x-axis
- History:
- 2018 - Written - Webb (UofT)