czbiohub-sf / shrimPy

shrimPy: Smart High-throughput Robust Imaging & Measurement in Python
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Affine scaling fix #94

Closed talonchandler closed 1 year ago

talonchandler commented 1 year ago

@edyoshikun it seems like my on-the-fly affine scaling implementation was buggy (I saw your [::-1]). I'm fairly certain the bugs were caused by np.linalg.eig returning unordered eigenvalues .

Here I'm suggesting a much simpler (and tested) version. Note the PR is against replace_zstep_global.