Closed carlrodriguez closed 6 months ago
Attention: 357 lines
in your changes are missing coverage. Please review.
Comparison is base (
8772c07
) 86.91% compared to head (337b954
) 87.62%. Report is 25 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for adding in the changelog @carlrodriguez !
work from Tomás and me on including central massive black holes (MBHs) in CMC.
This places an MBH at the 0 index of the Singles array. When using the regular CMC sampler the mass is specified in solar masses; when using the cmc-point-mass sampler the mass is specified in number of stars (e.g. for a 10,000 point-mass cluster, central_bh=1000 yields an MBH with 10% of the cluster mass).
There's an additional parameter, scale_with_central_bh, which can be passed to the sampler; if True, this adds the MBH potential energy into the calculation when rescaling the stellar positions (default is False).
finally, added a ``seed'' parameter to cmc_point_mass to create different point-mass realizations of clusters.