tests/test_averager2d.py: 2388 warnings
/Users/carmichael/Work/ASPIRE-python.unpin_confuse/src/aspire/classification/reddy_chatterji.py:42: DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.
midpoints = np.array([np.fix(axis_size / 2) for axis_size in shape])
tests/test_CtfEstimate.py: 5 warnings
tests/test_commonline_matrix.py: 1 warning
tests/test_downsample.py: 3 warnings
tests/test_filters.py: 2 warnings
tests/test_coordinate_source.py: 79 warnings
tests/test_image.py: 1 warning
tests/test_class_src.py: 3 warnings
tests/test_load_images.py: 6093 warnings
tests/test_micrograph_simulation.py: 1 warning
tests/test_oriented_source.py: 15 warnings
tests/test_array_image_source.py: 1031 warnings
tests/test_rotation.py: 2 warnings
tests/test_simulation.py: 29 warnings
tests/test_starfile_stack.py: 45 warnings
tests/test_volume.py: 21 warnings
tests/test_relion_interop.py: 20 warnings
tests/test_relion_source.py: 31 warnings
tests/test_orient_sync_voting.py: 2 warnings
/Users/carmichael/opt/miniconda3/envs/unpin_confuse/lib/python3.12/site-packages/numpy/_core/records.py:462: DeprecationWarning: Setting the dtype on a NumPy array has been deprecated in NumPy 2.5.
Instead of changing the dtype on an array x, create a new array with x.view(new_dtype)
ret = object.__setattr__(self, attr, val)
tests/test_batched_covar2d.py: 4 warnings
tests/test_bispectrum.py: 4 warnings
tests/test_class2D.py: 6 warnings
tests/test_class_src.py: 2 warnings
tests/test_covar2d.py: 7 warnings
tests/test_covar2d_denoiser.py: 3 warnings
/Users/carmichael/opt/miniconda3/envs/unpin_confuse/lib/python3.12/site-packages/numpy/lib/_index_tricks_impl.py:923: ComplexWarning: Casting complex values to real discards the imaginary part
a.flat[:end:step] = val
tests/test_batched_covar2d.py: 4 warnings
tests/test_bispectrum.py: 4 warnings
tests/test_class2D.py: 6 warnings
tests/test_class_src.py: 2 warnings
tests/test_covar2d.py: 7 warnings
tests/test_covar2d_denoiser.py: 3 warnings
/Users/carmichael/Work/ASPIRE-python.unpin_confuse/src/aspire/operators/blk_diag_matrix.py:133: ComplexWarning: Casting complex values to real discards the imaginary part
self.data[key] = value.astype(self.dtype, copy=False)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Noticing some new Numpy warnings: