Picoharp

Fast parsing code for PicoHarp TCSPC device by PicoQuant
27 Downloads
Updated 8 May 2023

Picoharp

Fast parsing code for PicoHarp TCSPC device by PicoQuant

ReadOutput_Picoharp reads and parses a PTU file generated by Picoharp TCSPC device (PicoQuant) and converts into a matlab structure called output.

Input: PTU file (.out extension)
Output: Matlab structure called output that contains photon records and special events (markers)

ReadOutput_Picoharp is based on similar functions that parses files generated by Hydraharp TCSPC device by PicoQuant:

  1. Read_PTU.m written by PicoQuant (https://github.com/PicoQuant)
  2. Read_PTU_V1.m written by Omri Bar-Elli and Ron Tenne (https://www.mathworks.com/matlabcentral/fileexchange/61789-read_ptu_v1-filepath) Read_PTU_V1.m parses bin files generated by Hydraharp The second function is ~100x faster than the first. I added a new feature, see parseOutData(output), which parses the data in a readable way and also performs some sanity checks along the way.
  3. ReadOutput_Hydraharp.m that is a similar script for Hydraharp devices written by my colleague, Dr. Ji Hyun Nam

Cite As

Talha Sultan (2024). Picoharp (https://github.com/tmsultan/Picoharp/releases/tag/1.0.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Read_PTU_V1(filepath)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.