lumispy icon indicating copy to clipboard operation
lumispy copied to clipboard

Speed up centroid function (remove interpolation)

Open jordiferrero opened this issue 2 years ago • 1 comments

Description of the change

I realised I had overengineered the com utils function. I have now simplified it with a huge speed improvement. It does not rely on scipy interpolation anymore.

Progress of the PR

  • [x] Change implemented (can be split into several points),
  • [x] docstring updated (if appropriate),
  • [x] ready for review.

jordiferrero avatar Feb 02 '23 10:02 jordiferrero