Read Becker & Hickl SDT files
Project description
SDT files are produced by Becker & Hickl SPCM software. They contain time correlated single photon counting instrumentation parameters and measurement data. Currently only the “Setup & Data”, “DLL Data”, and “FCS Data” formats are supported.
Becker & Hickl GmbH is a manufacturer of equipment for photon counting.
- Author:
- Organization:
Laboratory for Fluorescence Dynamics. University of California, Irvine
- Version:
2018.8.29
Requirements
Revisions
- 2018.8.29
Move module into sdtfile package.
- 2018.2.7
Bug fixes.
- 2016.3.30
Support revision 15 files and compression.
- 2015.1.29
Read SPC DLL data files.
- 2014.9.5
Fixed reading multiple MEASURE_INFO records.
Notes
The API is not stable yet and might change between revisions.
Python 2.7 and 3.4 are deprecated.
References
W Becker. The bh TCSPC Handbook. Third Edition. Becker & Hickl GmbH 2008. pp 401.
SPC_data_file_structure.h header file. Part of the Becker & Hickl SPCM software.
Examples
Read image and metadata from a SPC Setup & Data File:
>>> sdt = SdtFile('image.sdt') >>> sdt.header.revision 588 >>> sdt.info.id[1:-1] b'SPC Setup & Data File' >>> int(sdt.measure_info[0].scan_x) 128 >>> len(sdt.data) 1 >>> sdt.data[0].shape (128, 128, 256) >>> sdt.times[0].shape (256,)
Read data and metadata from a SPC Setup & Data File with mutliple data sets:
>>> sdt = SdtFile('fluorescein.sdt') >>> len(sdt.data) 4 >>> sdt.data[3].shape (1, 1024) >>> sdt.times[3].shape (1024,)
Read data from a SPC FCS Data File as numpy array:
>>> sdt = SdtFile('fcs.sdt') >>> sdt.info.id[1:-1] b'SPC FCS Data File' >>> len(sdt.data) 1 >>> sdt.data[0].shape (512, 512, 256) >>> sdt.times[0].shape (256,)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sdtfile-2018.8.29-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf2d5c2c49814a3630c73eab920bc70e25fb5b35b975d676c3b222bc38874c4 |
|
MD5 | c34f2fe5812fa1392208e9506ef6e8e8 |
|
BLAKE2b-256 | ab7dd83285d078e6134569dc1748e949b1743737de8b23081401b05f7608707c |