interpolate_orbits

clustertools.analysis.orbits.interpolate_orbits(cluster, pot=None, tfinal=None, nt=1000, ro=None, vo=None, zo=None, solarmotion=None)[source]

Interpolate past or future position of stars within the cluster

Parameters:
clusterclass

StarCluster

potclass

Galpy potential for host cluster that orbit is to be integrated in if None, assume a Plumme Potential

tfinalfloat

final time (in cluster.units) to integrate orbit to (default: 12 Gyr)

ntint

number of timesteps

rofloat

distance to the Galactic centre (Default: None)

vofloat

circular velocity at ro (Default: None)

zofloat

Sun’s distance above the Galactic plane (default: None)

solarmotionfloat

array representing U,V,W of Sun (default: None)

Returns:
x,y,zfloat

interpolated positions of each star

vx,vy,vzfloat

interpolated velocities of each star