myimagelib.corrLib.local_df

myimagelib.corrLib.local_df(img_folder, seg_length=50, winsize=50, step=25)

Compute local density fluctuations of given image sequence in img_folder

Parameters
  • img_folder – folder containing .tif image sequence

  • seg_length – number of frames of each segment of video, for evaluating standard deviations

  • winsize – window size

  • step – step between adjacent windows

Returns

dict containing ‘t’ and ‘local_df’, ‘t’ is a list of time (frame), ‘std’ is a list of 2d array with local standard deviations corresponding to ‘t’