-
Notifications
You must be signed in to change notification settings - Fork 29
Adding option to set q_max to a user specified value #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development-deprecated
Are you sure you want to change the base?
Conversation
|
It is still failing. Here an example: When you check all the 24 possible situations you'll see that there are still two cases, where the user input is OK, (because q_min<q_max and m2_min<m2_max; the user can't check more because m1 is not set at this moment, hence can't be considered), while the resulting range isn't OK (because an actual max value is smaller than a min value).
Depending on the drawn m1, different cases are in action for m2 at the same time, e.g. m1=10: 0.35/10<0.05<2/10<1.0 vs. m1=50: 0.35/50<2/50<0.05<1.0. |
|
Please don't forget to add the new limit to the |
|
The more I'm thinking about introducing mass ratio limits, it feels that it gets less intuitive for a user that he needs to care about both. |
|
Update (July25): All cases need to be reviewed (see Matthias's comments above) and normalization for rate calculations need to be integrated. |
|
Another task is, to penetrate the change up till the user level, hence the |
|
Revisited this issue. It should be a simple fix, but there are some issues with the q_min and q_max limits anyway. This needs to dovetail with the population re-normalization for transient rate calculations. This will take some more thought to resolve |
This update allows for a user to change the default initial minimum and maximum mass ratio of the two stars in the binary. Note that both the mass ratio limits and the secondary mass limits are simultaneously satisfied. This has been tested and is ready to go.
Defaults are:
q_min = 0.05q_max = 1.0secondary_mass_min=0.35secondary_mass_max=120An isolated test of the function: