separate_bound_unbound

amuse_util.ic.star_cluster.separate_bound_unbound(bound_cluster, unbound_cluster, bound_radius, cdf_code=None, converter=None)[source]

Separate Unbound particles from Bound Particles.

Uses a simple radius cut from the center of mass.

Also reset cdf_code parameters, if provided.

Parameters
bound_clusterSystem
unbound_clusterSystem
cdf_codeDynamicalFrictionClass, optional

reset the total_mass

converter: nbody_to_si

needed if cdf_code is not None and bound_cluster does not have a method converter