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

SZ cluster counts likelihood: natural vs base 10 log in szcounts.f90 #34

Open
borisbolliet opened this issue Jun 9, 2021 · 3 comments

Comments

@borisbolliet
Copy link

borisbolliet commented Jun 9, 2021

Hi,

I think the prior on the scatter parameter sigmaM, in line:

palpha*(cosmopar%alpha-1.789)**2./(2.*0.084**2.) + psigma*(cosmopar%sigmaM-0.075)**2./(2.*0.01**2.) !cosmomc_sz

should be

(cosmopar%sigmaM-0.173)**2./(2.*0.023**2.)

rather than

(cosmopar%sigmaM-0.075)**2./(2.*0.01**2.)

because I think that the routine uses the parameter sigmaM defined in natural log, as described in the 2015 Planck SZ cluster paper (table 1 of https://arxiv.org/pdf/1502.01597.pdf and footnote c of the table), as can be seen here:

arg=((lny-mu)/(sqrt(2.)*sigmaM))

(Or maybe I am missing a conversion from natural log to base 10 log...?)

If this needs to be corrected, then these lines:

param[scatter_SZ]=0.0750000 0.0220000 0.122000 0.00500000 0.00250000

param[scatter_SZ]=0.0750000 0.0220000 0.122000 0.00500000 0.00250000

in the input files should also be updated to be with respect to the natural log value of 0.173\pm0.023.

@cmbant
Copy link
Owner

cmbant commented Jun 9, 2021

I think this code was contributed by @abonaldi who perhaps can comment

@abonaldi
Copy link

abonaldi commented Jun 10, 2021 via email

@cmbant
Copy link
Owner

cmbant commented Jun 10, 2021

Here on github. if you are looking at the github email, click "view it on github".

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

3 participants