praxes / hexrd

Legacy hexrd repository (python2.7)
http://hexrd.readthedocs.org
14 stars 42 forks source link

replaced call to numpy.unique in spotfinder.Spot.finalize #19

Closed donald-e-boyce closed 11 years ago

donald-e-boyce commented 11 years ago

This uses a user-definded dtype array (as before) to call numpy.unique() without the return_index array, which seems to be malfunctioning. Also added debug messages using logging module. On a test problem, it seems to work fine. Some, but not all, of the spots have duplicate pixels removed, as expected.

fixes #17