radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
98 stars 65 forks source link

Allow setting threshold for `allow_huge_operations` #781

Open e-koch opened 2 years ago

e-koch commented 2 years ago

Make https://github.com/radio-astro-tools/spectral-cube/blob/master/spectral_cube/cube_utils.py#L255 configurable.

One obvious use case is for faking "large" cubes with a low threshold in CI tests (#725; also related #696, #579).