powerbox icon indicating copy to clipboard operation
powerbox copied to clipboard

A python package for making arbitrarily structured, arbitrary-dimension boxes

Results 15 powerbox issues
Sort by recently updated
recently updated
newest added

Hi, it appears that the powerbox can only apply to a cube box. Would you consider extending its application to a rectangular box ? It would be useful for mimicking...

enhancement

Hey, thanks for the package. Though there is a bug(feature) in your code. If you consider Parseval's theorem you can theoretically compute the variance of the generated GRF from its...

Thanks for the repo :) It's very clear and easy to use. I am having issues generating a density field with nbodykit's power spectrum and powerbox, maybe you can help...

Hi! I tried to generate 2D GRFs (using powerbox.Powerbox as shown [here](https://powerbox.readthedocs.io/en/latest/demos/getting_started.html#Create-a-2D-Gaussian-field-with-power-law-power-spectrum)), but have run into issues depending on whether I use an odd or even number of pixels when...

bug

Not sure if this is a problem with how powerbox calls pyfftw, or just with pyfftw itself, but bad things can happen when using pyfftw under multiprocessing. Will give more...

The check for length of coords in angular_average_nd should allow coords with length n, not just field.shape

bug

We are using NBodyKit to calculate some power spectra, with [FFTPower](https://nbodykit.readthedocs.io/en/latest/api/_autosummary/nbodykit.algorithms.fftpower.html#nbodykit.algorithms.fftpower.FFTPower). However, this is much more cumbersome and archaic than powerbox, and we were wondering if having a similar kmin/kmax...