Skip to content
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

prediction for matter-matter correlation not being smoothed #64

Open
cramirezpe opened this issue Jul 9, 2021 · 1 comment
Open

prediction for matter-matter correlation not being smoothed #64

cramirezpe opened this issue Jul 9, 2021 · 1 comment

Comments

@cramirezpe
Copy link
Collaborator

Is there a reason for the matter-matter correlation (but also galaxy-matter) prediction not being smoothed?

In predictions.c we find:

CoLoRe/src/predictions.c

Lines 92 to 99 in 0460c20

if ((ka[i]>=kminout) && (ka[i]<=kmaxout))
fprintf (fpk,"%g %g %g %g\n",ka[i],pk[i],
pklin[i]*bias*exp(-rsm2_gm*ka[i]*ka[i]),
pklin[i]*exp(-rsm2_mm*ka[i]*ka[i]));
if ((ra[i]>=rminout) && (ra[i]<=rmaxout))
fprintf (fxi,"%g %g %g %g\n",ra[i], xi[i],
xilin[i]*bias, xilin[i]);
}

That means that we are saving to file the smoothed power spectrum and the linear (not smoothed) correlation. Is there a reason for that, or it is just an error?

@damonge
Copy link
Owner

damonge commented Jul 12, 2021

Yep, you're absolutely right. I didn't implement that because I wasn't using the correlation functions for anything.

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

No branches or pull requests

2 participants