msdanalyzer icon indicating copy to clipboard operation
msdanalyzer copied to clipboard

Missing frames

Open smury opened this issue 6 years ago • 0 comments

Hello,

Thank you for the great problem. Can I make a suggestion? Currently, missing points must be removed by the user from the track list before loading it into msdanalyzer. The data set I am working on has a NaN position for missing frames. At first I didn't realise this and it loads fine in msdanalyser and I can fit the mean msd curve but when I try to fit the individual curves, it fails due to individual curves having lots of NaNs (propagated from a single missing point by addition).

As another user may not realise the problem, I suggest adding track=track(~isnan(track(:,2)),:); after line 51 in computeMSD.m

Best, Sean

smury avatar Jul 13 '17 09:07 smury