readSPE

Import Princeton Instrument *.SPE scientific images

You are now following this Submission

Import Princeton Instrument *.SPE scientific images.
Image is returned as a 3D array, where each image is the first 2 dimensions, and successive images are stored along the 3rd.
This simple code only pulls the information that is desired by the author, and is returned in a struct.

Cite As

Carl Hall (2026). readSPE (https://ch.mathworks.com/matlabcentral/fileexchange/35940-readspe), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Read / Write .SPE-files

Categories

Find more on Data Import and Analysis in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Includes changes recommenced by Tremayne and Shijie, and returns select information from file header

1.1.0.0

Modified to maintain the output data array as same datatype as SPE file
It looks like PI is posting the official SPE structure: ftp://ftp.princetoninstruments.com/public/Manuals/Princeton%20Instruments/SPE%203.0%20File%20Format%20Specification.pdf

1.0.0.0