read .t3r files (tttr, time tagged time resolved data)

Hi how can I read a *.t3r file in Matlab? It contains time information of fluorescence sparks which is usually wasted with standard commercial code. It would be greatly appreciated if anyone can help!! Thanks Damiano

2 Comments

I do not seem to find a file format definition. The closest I have found is that the PicoHarp file format appears to include TTTR record structures, but I cannot tell how much of the documented PicoHarp format is unique to them and how much is TTTR.
Hi Walter
it is indeed the PicoHarp file format .t3r that I'd like to read in Matlab or convert in ascii file. Picoquant provides some analysis software, but for particular purposes they suggest to write one's own code. Unfortunately, they do not provide any export function to convert their binary files (*.t3r) in .ascii. Thus I am looking for a way of reading this kind of file directly in Matlab, which would be a great option.
I can send you a .t3r file if you need it to test something.
thanks again
Damiano

Sign in to comment.

 Accepted Answer

The PicoHarp FAQ appears to indicate that the script read_pt3.m can read t3r files in MATLAB.
If you google picoharp read_pt3.m you can download a copy of the script if you do not already have it.

4 Comments

I already tried it, but that script is for an older version of Picoharp, thus I guess the format of the t3r file changed in the newer version.
This is what I get:
Identifier: TimeHarp 200
Format Version: 6.0
Warning: This program is for version 2.0 only. Aborted.??? Undefined function or variable 'STOP'.
Error in ==> read_pt3 at 41
STOP;
I got the same problem, Anyone has newer version of .m file
Hi there
I am looking for a matlab code to read the .ptu files. We are using TimeHarp 260 TCSPC card. Kindly post here if you have any leads or improved programme.
Thank you in advance
Abdul
https://github.com/PicoQuant/TH260-Demos includes a MATLAB interface.
https://www.tcspc.com/doku.php/software lists several potential pieces of software, mostly using python (which can be called from MATLAB.)
The vendor provides callable objects that can be invoked from MATLAB for Windows or Linux (but at least not documented as being available for Mac.)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!