Skip to content

Conversation

@BalexBalex
Copy link
Collaborator

Tests done: 1) The masses of singles and binary components follow Kroupa for a 1e6MSun sample, 2) The result is identical to the analogous COSMIC code implementation, 3) The other quantities (M1, q, Porb, ecc) and pairs of such quantities are distributed indistinguishably between the COMPAS and COSMIC versions, 4) Changing MMin in COMPAS correctly truncates the primary mass to be above MMin, without affecting other correlations.
MassSetComparison_COSMIC_COMPAS_Init
MassSetComparison

…the masses of singles and binary components follow Kroupa, and that the result is identical to the COSMIC code implementation (after the same correction is applied)
Copy link
Collaborator

@ilyamandel ilyamandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @BalexBalex !
The changes and result look great, but I think the current comments make things more confusing (e.g., # Slope = -1.6 for M1 = 0.5 - 1.0 Msun, when it's really -2.3 in the code and -2.3 is the intended Kroupa value). Can we update the comments and remove the commented out code?

@BalexBalex
Copy link
Collaborator Author

Updated it, just left a short note to show where the code was modified!

Copy link
Collaborator

@ilyamandel ilyamandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @BalexBalex ! Looks great!

@ilyamandel ilyamandel merged commit c2b68ce into TeamCOMPAS:dev Feb 11, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants