Skip to content

Releases: jewettaij/superpose3d

updated setup.py

21 Mar 06:59
Compare
Choose a tag to compare

In the previous release, I forgot to update the version numbers in the setup.py file. This small update fixes that. (It was necessary to do that to upload the changes to pypi.)

scale factors (c coefficients) are hopefully correct now

21 Mar 06:51
Compare
Choose a tag to compare

This version fixes a bug that prevented "c" (the scale factor) from being calculated correctly. This bug was caused by a typo introduced in v1.1.0 (commit 91d30b8) when converting the for-loops into compact numpy expressions.
Hopefully scale factors are being calculated correctly now.

non-uniform weights should be working again

24 Feb 09:07
Compare
Choose a tag to compare

This fixes a bug which was introduced in v1.1.0.

When we first began using numpy to speed up the matrix operations (introduced in v1.1.0), we forgot to incorporate weights in one part of the code. So the python code worked when uniform weights were used (which occurs by default). But we forgot to make sure that non-uniform weights are working.

This code has finally been fixed, and the testing code has been updated.

fixed a mistake in the format of Superpose3D() return value

27 Jan 00:13
Compare
Choose a tag to compare

The first entry in the output of Superpose3D() is now a number instead of a rank-0 tensor. The previous behavior (rank-0 tensor) was a mistake which my automated tests failed to catch. Changing this might break backward compatibility for some users, but this new behavior is simpler and is consistent with the documentation.

alternative quaternion conventions

13 Mar 02:04
Compare
Choose a tag to compare

I added some comments explaining alternate conventions for representing rotations with quaternions. The code behavior is not effected. (Perhaps it was not necessary to draft a new release over this...)

significant speed improvements by replacing for-loops with numpy expressions

12 Mar 23:13
Compare
Choose a tag to compare

Removed all for-loops in the code to improve computational efficiency. Thanks to Alfredo Ricci Vásquez for submitting the PR containing these optimizations.

further hardening against nonsensical input

25 Feb 02:29
Compare
Choose a tag to compare

It now avoids crashing when invoked on empty arrays (length 0).

initial stable release

25 Feb 01:32
Compare
Choose a tag to compare

initial stable release. future API change extremely unlikely.

better error handling and unit testing

24 Feb 23:02
Compare
Choose a tag to compare

hardened against non-sensical user input. improved unit tests. added more silly badges.

quaternions available

21 Feb 03:42
Compare
Choose a tag to compare

Callers can supply an optional argument, q which will store the quaternion corresponding to rotation R. From it, the rotation angle and rotation axis can easily be determined.