-
Notifications
You must be signed in to change notification settings - Fork 0
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
Analysis of David sim (20201026) #4
Comments
Hi @cramirezpe - these values of (1,2,4) can not be related to the values of galaxy bias, since you should not multiply the lensing power by bias^2. I seem to remember that these were introduced in the scripts temporarily to correct a bug in the prediction code, that was later fixed? I'd remove these numbers from the script, but make sure to document the change very well and confirm with David. I'm surprised that you had to modify the scripts from David that much... It would be good to understand each change you had to do, and confirm with him soon (he said he would reply quickly to issues with the scripts). |
Hi, I don't think is worth it to mention the modifications as they are:
The previous problem with shot noise was caused by me loading incorrectly one of the (the galaxy-galaxy plots are fixed). We still have the problem with d-m and m-m (that could be solved removing those factors 2 and 4). These two factors are convention factors (David mentioned it here). I wanted to check if the bias was the cause of the problems because of how the theoretical prediction is computed. A galaxy and a lensing tracer is defined (apparently) using the same bias: tr_d = [ccl.NumberCountsTracer(cosmo, False, (z_nz, nz_tot[i]), bias=(z_nz, np.ones_like(z_nz)))
for i in range(nbins)]
tr_l = [ccl.WeakLensingTracer(cosmo, (z_nz, nz_tot[i])) for i in range(nbins)] It seems here that we are assuming the same bias both for matter and galaxies. I checked with a different CoLoRe box with a known bias of 2 and the result is okay: Maybe whatever is happening now is happening in the CoLoRe box and not in the scripts. I'll take a look at it again and write a message to David if I can't find the problem. |
I decided to look at the scripts myself, to make sure I understand what you guys are doing. I'll send an email to both of you with some comments. |
Box located at:
There are also three new scripts that include magnification.
The text was updated successfully, but these errors were encountered: