ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
586 stars 161 forks source link

ENH: squeeze data_weights if necessary #656

Closed ncullen93 closed 1 month ago

ncullen93 commented 1 month ago

This changes helps support some potential existing code that had a 2-dimensional data_weights input.

coveralls commented 1 month ago

Coverage Status

coverage: 81.338% (+0.007%) from 81.331% when pulling 5feb5969b98c255fcbcd4170e45b42e8a50e8943 on fix-bspline-squeeze into 8cceaedd6aa74efb6d556476a1ce0e1fb930af28 on master.