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

Problem and solution to deal with high biased sources #10

Open
fjaviersanchez opened this issue Oct 14, 2016 · 2 comments
Open

Problem and solution to deal with high biased sources #10

fjaviersanchez opened this issue Oct 14, 2016 · 2 comments

Comments

@fjaviersanchez
Copy link
Collaborator

fjaviersanchez commented Oct 14, 2016

Hi @damonge,

When I try to generate sources with bias ~2 or higher with a relatively high density (~30 mill sources total in full-sky) the sources tend to accumulate in certain positions so the resulting map is not correct (here I am showing a masked version of the map):
screen shot 2016-10-14 at 3 12 56 pm

This is solved when I use some gaussian smoothing following the suggestion by @slosar. In this case the smoothing sigma is 5 Mpc/h which is smaller than the resolution of the simulation, 6.2 Mpc/h.
screen shot 2016-10-14 at 3 15 47 pm

I just wanted to leave this solution written for other users and we can try to solve this issue (in the case it can be totally solved) in the future.

@damonge
Copy link
Owner

damonge commented Oct 15, 2016

Thanks a lot! This is the main motivation for the r_smooth parameter. I'll leave this open since other users may find it useful

@slosar
Copy link
Contributor

slosar commented Oct 16, 2016

I think the map above is not strictly wrong in the sense that the power spectrum averaged over many realisations will likely be correct.
What is funny is that you can get power spectra that don't look too bad, but the correlation function explodes at small r -- I think this is what we are seeing here.

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