Closed ivanovmg closed 1 year ago
Previously the function trackpy.feature.locate contained a lot of procedures, which made it difficult to comprehend.
trackpy.feature.locate
The helper class ParticlesLocator was extracted to improve code readability.
ParticlesLocator
The class ParticlesLocator allows the following:
locate
Refactoring
Previously the function
trackpy.feature.locate
contained a lot of procedures, which made it difficult to comprehend.The helper class
ParticlesLocator
was extracted to improve code readability.The class
ParticlesLocator
allows the following:locate
, which contains a readable sequence of steps to be carried out before returning the coordinates.