relaxation_time

clustertools.analysis.functions.relaxation_time(cluster, rad=None, coulomb=0.4, projected=False, method='spitzer')[source]

Calculate the relaxation time (Spitzer & Hart 1971) within a given radius of the cluster

  • Spitzer, L. Jr, Hart, M.H. 1971, ApJ, 164, 399 (Equation 5)

  • Need to adjust amplitude for different input units

Parameters

clusterclass

StarCluster

radfloat

radius within which to calculate the relaxation time (defult: cluster.rm)

coulombfloat

Coulomb parameter (default: 0.4)

projectedbool

use projected values (default: False)

methodstr

choose between Spitzer & Hart 1971 and other methods (in development)

Returns:
trelaxfloat

relaxation time within radius rad