This documentation is for a legacy ScanImage version. The current documentation is ScanImage 2019.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


List of Files


  • Photostimulation log file (.stim)
  • Meta data (.meta.txt)
  • PMT fluorescence data (.pmt.dat)
  • Position feedback (.scnnr.dat)
  • Motors_classData.mat
  • ResScanner_classData.mat
  • LinScan_LinScanner_classData.mat
  • FastZ_classData.mat


TIFF Files
Class Data Files

Additional Photostimulation Documentation

If the option is enabled to log information in the photostimulation controls window, a .stim file will be created. The photostimulation log file (.stim) contains a sequence of numbers that is parsed into Nx3 array with three variables, the X coordinate, the Y coordinate, and the beam power. The file can be read using the functionscanimage.util.readPhotostimMonitorFile(filename).


Code Block
    % x,y are in reference coordinate space, beam power is in [V], native readout of photo diode
    out.X = phtstimdata(:,1);
    out.Y = phtstimdata(:,2);
    out.Beam = phtstimdata(:,3);