Open jmangum opened 2 days ago
put cube.allow_huge_operations=True
after cube = SpectralCube.read(cube).with_spectral_unit(u.Hz)
Thanks @keflavich . Tried that. Same error.
ok try adding it also after https://github.com/keflavich/cube-line-extractor/blob/master/CubeLineMoment.py#L142 (i.e., after the last time cube = <something>
is done
Encountered an error (rather than a warning, that I had become accustomed to seeing) with trying to create moments from an image cube which is apparently too large for
SpectralCube
:I tried setting
cube.allow_huge_operations=True
incubelinemoment_setup
but that resulted in an attribute error: