-
Notifications
You must be signed in to change notification settings - Fork 61
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
Outlying points in \ell = 4 multipole #665
Comments
Hi, I just wanted to follow up on this bug. Let me know if there's any other information I can provide. Thanks so much! |
If this affects FFTPower, then the only relevant dependency is pmesh. It is relatively simple, and thus I don't think the error is in the transformations. My recollection on this is that the few large scale modes have very very few number of samples in the bin. Also, the bin-center may not be very well pinned to the 'optimal' location -- did you plot using the bin center or the average k in the bin? I recall the average k in the bin is computed, but don't recall how to get it. If the plot is using the center of the bin then we will have a bias that scales up with bin_center - , and it won't go away with more samples. This bias will shrink as you increase the bin size (hence number of samples in a bin) Did you check if changing the bin size this bias goes away faster? |
Hi, |
Describe the bug
There are several weird features of the power spectrum multipoles when estimated using FFTPower: the first couple of \ell = 4 points seem too large in magnitude (see plot below). These features persist even after averaging over the poles from many different catalogs– the attached plot is for 50 simulations, but it appears for several hundred simulations, with higher values of
nmesh
(up tonmesh = 1024
) as well.Steps To Reproduce
My script is attached. I generate a lognormal catalog, add RSD, remove any galaxies that fall beyond the edges of the box, and then call FFTPower.
Actual behaviour
The \ell = 4 pole has a couple of outlying points at large scales (small k).
Expected behaviour
\ell = 4 multipole points closer to 0.
Screenshots
Version
3.15
If you suspect the problem is related to a dependency (e.g. Corrfunc, pmesh, or mcfit), then it is useful to report the version of that dependency as well (replacing
nbodykit
with the package name).Additional context
This is a simplified version of code for a project to estimate wide-angle effects; the \ell = 4 outliers also occur when using ConvolvedFFT on a catalog with all of the galaxies shifted in the z direction to approximate a fixed LOS.
debugFFTPower.py.zip
The text was updated successfully, but these errors were encountered: