to_nbody

clustertools.cluster.operations.to_nbody(cluster, analyze=True)[source]

Convert stellar positions/velocities, centre of mass, and orbital position and velocity to Nbody units

  • requires that cluster.zmbar, cluster.rbar, cluster.vbar are set (defaults are 1)

Parameters:
clusterclass

StarCluster

analyzebool

run analysis function (default: True)

Returns:
None
History:
2018 - Written - Webb (UofT)