-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix massdef in miscentering calculations and virial delta_mdef #662
base: main
Are you sure you want to change the base?
Conversation
Thank you @hsinfan1996 - this was super efficient :) I confirm it behaves as expected for However, when So at the moment, having I see 2 options:
Maybe option 1 is sufficient for the time being? What do you think @hsinfan1996? |
I was thinking about virial massdef too. For the CCL backend, I can implement the function for getting Delta_vir right away. For NumCosmo, I think I know what function to use, but I will need some time to implement it. Hopefully, someone more familiar with NC can help me. So for now, I go for option 2. |
@combet I added the functions that calculate Delta_vir to the supported backends (NC<=0.22 for now). However, since getting Delta_vir requires the redshift, which is different from other mass definitions, I am thinking what is the best way to set Delta_vir to the cluster or for it to be utilized by other functions. Any ideas? @m-aguena |
To support virial massdef properly, all functions that call the relevant ones in generic.py have to get virial delta_mdef from the backends, so I added some functions to do the job. |
No description provided.