REGUI - kpmoorse/sim_reg GitHub Wiki

SR = regui(z, fout, varargin)
Primary function called by a user.

Take as inputs:

  • z: the z-plane of the input image stack to process
  • fout: filename which will be used for saving csv-formatted output data
  • varargin: list of optional arguments to pass to SIM_ICP2

Select files via getfile UI:

  • Anatomical label matrix (.tif/.tiff): preprocessed TIFF stack in which each cell's extent is represented by a different integer value
  • Anatomical image stack (.tif/.tiff): raw TIFF stack containing high-quality, time-averaged fluorescence data
  • CNMF data (.mat): MAT file containing a structure with a name matching the regular expression '(?i)cnmf?'
  • Functional image stack (.tif/.tiff): raw TIFF hyperstack containing fluorescence video data

Extract the desired z-plane from the TIFF stacks and format all input files (both intrafunctionally and via EXCTRS2) for input to the SIM_ICP2 function. Call the SIM_ICP2 function and save the results via SAVEDAT.