tinevez / msdanalyzer

A MATLAB class for Mean Square Displacement analysis.
36 stars 16 forks source link

unequal tracks #4

Open olasabet opened 3 years ago

olasabet commented 3 years ago

Hi,

I have this real movie with particles that I tracked with Trackmate. Some of the particles bleach or move in 3D so I have unequal track lengths. When I import the .csv into MATLAB to extract the tracks in the format ([ Ti Xi Yi ...]) as per your tutorial, I don't always have the same measurements per particles. Would the msdanalyzer still work or do I have to pad the data?

tinevez commented 3 years ago

Hello. No it supposed to work with whatever track length you have.

I am a bit worried about the CSV part you mention. In the tutorial I mention XML exporter from TrackMate directly. Can you detail a bit how you work?

olasabet commented 3 years ago

Hi Jeav-Yves,

Actually I can gladly report that it worked very well for me with unequal length. I used (csvimport) function and exported the data I needed from the file starting at second raw (to omit the labels).

tinevez commented 3 years ago

ok. I can close the issue then?

olasabet commented 3 years ago

yes please, thanks a lot.

On Tue, Jan 19, 2021 at 10:03 AM Jean-Yves Tinevez notifications@github.com wrote:

ok. I can close the issue then?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tinevez/msdanalyzer/issues/4#issuecomment-762702565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJ5EFOGLMDQCLMALRCBDNLS2VDH3ANCNFSM4WEHIVRA .