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

Since we don't cache the result of `delta_x()`, when comparing the output of `create_discrete_sample()` with `delta_x()`, it'll be wrong unless you set the seed. We could cache the box, or...

enhancement

When writing some tests I noticed the power spectrum amplitude is incorrect for odd `pb.N` but correct for even. A code snippet to reproduce the wrong behaviour: ```python import numpy...

fix #64 Still need doc updates and tests to cover uneven length cases

Allowing the simulation box to have unequal length and resolution on each side can be very useful, since many times the target light cone will have very different sizes on...

Tests missing Correlated variance missing Docstrings missing