locan.locan_io.locdata.smlm_io#
File input/output for localization data in SMLM files.
File specifications are provided at https://github.com/imodpasteur/smlm-file-format/blob/master/specification.md.
Code is adapted from https://github.com/imodpasteur/smlm-file-format/blob/master/implementations/Python/smlm_file.py. (MIT license)
Functions
|
Load data from a SMLM single-molecule localization file. |
|
Read header (manifest) from a SMLM single-molecule localization file and identify column names. |
|
Read manifest.json (version 0.2) from a SMLM single-molecule localization (zip) file. |
|
Prepare a manifest["file_info"] protobuf from locdata. |
|
Prepare a manifest["format"] protobuf from locdata. |
|
Prepare a manifest protobuf from locdata. |
|
Save LocData attributes in a SMLM single-molecule localization (zip) file with manifest.json (version 0.2). |