cgohlke / sdtfile

Read Becker & Hickl SDT files
https://pypi.org/project/sdtfile
BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Just a heads up for changing _SPCdata struct #6

Open bhmarscheck opened 1 year ago

bhmarscheck commented 1 year ago

With the new TCSPC release comming soon we had to make changes to the _SPCdata stuct in the Spcm_def.h. This will probably affect your MEASURE_INFO list. I'll provide the final changes as soon as possible.

cgohlke commented 1 year ago

@bhmarscheck Thanks for the heads up! I see that the "TCSPC Data file Structure" chapter was removed from the 10th edition of "The bh TCSPC Handbook". Which document defines the file structure now?

Due to space limitations the specifications of the SPC modules have been omitted from the 
current version of the TCSPC Handbook. Please refer to the data sheets on 
https://www.becker-hickl.com. 
bhmarscheck commented 1 year ago

it is and always was the "SPC_data_file_structure.h" that is installed together with the TCSPC package

bhmarscheck commented 1 year ago

I'll see if I can get the file as a separate download in the documentation area on the website so you dont have to install the whole package just to get the file.

cgohlke commented 1 year ago

Thank you. That's reasonable. I still appreciated the chapter as a higher level introduction to the file structure.

bhmarscheck commented 1 year ago

I intend to have a separat documentation for all sorts of programming related things with our software but the day just doesn't have enough hours if you know what i mean. But when i eventually come to it it will contain such a chepter. Apart from that the previous version of the handbook is still available on our website.

cgohlke commented 1 year ago

Hello @bhmarscheck The "SPC_data_filestructure.h" file is indeed sufficient to write a SDT file reader. It is a valuable, thorough resource! It would be nice though to have definitions/comments for a few more fields in the MeasureInfo struct, for example `tac*`.

Would it be possible for you to provide some SDT files for testing and improving this library? Also, the phasorpy project is looking for suitable SDT image datasets. If there is any way for you to share (for example, on Zenodo.org) the datasets used in the TCSPC Handbook, that would be most useful.

bhmarscheck commented 1 year ago

I'll forward your desire for more comments in the MeasureInfo struct and will try to improve the documentation there as mutch as I can.

Regarding the SDT files I can provide almoste any files you want. Is there something specific you are looking for or just any SDT files that have some FIFO image data in them? If you want to generate your own files I would recomend installing the TCSPC package from our website and run SPCM in emulation mode (just chose the hardware of your choise in the first panel for emulation and then you can klick together the settings you want to test and save them as a .set file this is identical to the .sdt file only without the data.

Id like to share via Zenodo but i am havin trouble with signing up/logging in there.

cgohlke commented 1 year ago

Id like to share via Zenodo but i am havin trouble with signing up/logging in there.

Zenodo had a scheduled downtime today and ran into additional issues. Could you try again later?

Regarding the SDT files I can provide almoste any files you want.

Thank you. For the testing of this library, a set of files with distinct acquisition modes produced by different versions of the software/structures would be great. I'll try SPCM in emulation mode too.

For the PhasorPy project, the datasets used in the TCSPC Handbook (or similar) shared on Zenodo would be most useful.