Closed telegraphic closed 1 year ago
Crash on Py3.8 @ blpc00 when apply_smearing_corr is turned on:
apply_smearing_corr
(hyperseti) dancpr@blpc0:~/hyperseti_tests/wael_mars$ python test_hyperseti.py [find_et] find_et: hyperseti version 0.3.0 [find_et] Progress 1/244 [find_et] Preprocess mean: [3719.61816406] [find_et] Preprocess STD: [491.074646] [find_et] Preprocess flagged: 0.00% Traceback (most recent call last): File "test_hyperseti.py", line 32, in <module> dframe = find_et(voyager_h5, config, File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/utils.py", line 39, in wrapper res = func(*arg, **kwargs) File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/pipeline.py", line 304, in find_et hits = pipeline.run() File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/utils.py", line 39, in wrapper res = func(*arg, **kwargs) File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/pipeline.py", line 204, in run self.dedoppler() File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/utils.py", line 39, in wrapper res = func(*arg, **kwargs) File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/pipeline.py", line 153, in dedoppler self.dedopp, self.dedopp_sk = dedoppler(self.data_array, **self.config['dedoppler']) File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/dedoppler.py", line 316, in dedoppler dedopp_array = apply_boxcar_drift(dedopp_array) File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/hyperseti/dedoppler.py", line 88, in apply_boxcar_drift data_array.data[idxs] = uniform_filter1d(data_array.data[idxs], size=int(boxcar_size), axis=2) * np.sqrt(boxcar_size) File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/cupyx/scipy/ndimage/filters.py", line 242, in uniform_filter1d return correlate1d(input, cupy.ones(size) / size, axis, output, mode, cval, File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/cupyx/scipy/ndimage/filters.py", line 111, in correlate1d weights, origins = _filters_core._convert_1d_args(input.ndim, weights, File "/opt/conda/envs/hyperseti/lib/python3.8/site-packages/cupyx/scipy/ndimage/_filters_core.py", line 48, in _convert_1d_args raise RuntimeError('incorrect filter size') RuntimeError: incorrect filter size
Crash on Py3.8 @ blpc00 when
apply_smearing_corr
is turned on: