soft-matter / trackpy

Python particle tracking toolkit
http://soft-matter.github.io/trackpy
Other
445 stars 131 forks source link

recouping aligned images of identified trajectories as new tiff stacks #637

Open Mattyboi123 opened 3 years ago

Mattyboi123 commented 3 years ago

Hello,

apologies if this is in fact implemented but I can't find it if it is. My data involves patterns that change within a single trajectory and it would be great if as well as returning the coordinates for the centre of mass for each particle in each frame in each trajectory as a dataframe, there was also an option to produce tiff stacks of each identified trajectory in a frame of minimum size to show how the individual particles are moving in their trajectories and also with each frame aligned on the centre of mass of the particle and cropped to a user defined size. as this would facilitate downstream processing greatly. I hope that makes sense and isn't redundant!

Cheers

Matt

Mattyboi123 commented 3 years ago

I should mention that the algorithm works well and identifies the connecting trajectories of individual particles correctly