clear;clc;close all
fdir = './';
fname= 'tracks';

ToSave = 1;           % boolean to save the outputs, default value is 1
ImagingInterval = 61; % time between consecutive frames [ms]
maxDisplacement = 8;  % maximum displacement allowed in tracking in pixels
dir_for_tracks = './tracks/sampledata.mat'; % location of the peak detection results

paths = sptFromPosList(fdir,fname,...
    ImagingInterval,maxDisplacement,ToSave,dir_for_tracks);

% if ToSave = 1, saves the outputs
% paths: x | y | image ID | path ID
%%