#pragma rtGlobals=3 // Use modern global access method and strict wave access. Function SumIntensity_traj(TotalPar) // to calculate the total intensity of all particles detected at each frame from SPT to plot total intensity vs. frame // setting up variables variable TotalPar //the number for all N Par variable FirstTime //for specifying where to store the extracted data variable TrajLength //the length of wave for ParN Make /o/N=100 Total_int //the new wave to store the extracted data // looping all particles variable i, j for(i=0;i