Fluorescence-Tools / tttrlib

File format agnostic low level, high performance API to read and process time-tagged-time resolved (TTTR) data for single-molecule and image spectroscopy (Sample data: https://gitlab.peulen.xyz/skf/tttr-data)
http://tttrlib.rtfd.io/
BSD 3-Clause "New" or "Revised" License
19 stars 0 forks source link

Add support for MultiHarp 150 and the new PicoHarp 330 ptu format #41

Open py-E-SIS opened 3 months ago

py-E-SIS commented 3 months ago

Is it possible to add support for the MultiHarp150 ptu format? I can provide test data etc.

Actually this is readily available as PicoQuant code demo https://github.com/PicoQuant/PicoQuant-Time-Tagged-File-Format-Demos/blob/master/PTU/Python/Read_PTU.py

Check Record types ........

rtGenericT3 = struct.unpack(">i", bytes.fromhex('00010307'))[0] # MultiHarpXXX and PicoHarp330 rtGenericT2 = struct.unpack(">i", bytes.fromhex('00010207'))[0] # MultiHarpXXX and PicoHarp330

tpeulen commented 3 months ago

Sure! Can you provide me with small file(s) that I could use for testing and unittests?