Skip to main content

Python package for handling TCF data. It works with Tomcube data

Project description

TCFile python package

A basic image processing tool of tomocube data.

Installation

pip install TCFile

Use case

from TCFile import TCFile

tcfile = TCFile('test.TCF','3D') # ready for return 3D RI images
print(f"number of snapshots : {len(tcfile)}")

## Usage 1: handling each snapshots (or data)
data = tcfile[0]
print(f"shape of data : {data.shape}")
# or
for data in tcfile:
    # do some operations on the data ...
    pass

TODO

  • fluorescence data reader
  • TCFile compressor/decompressor for portability
  • rich documentation
  • rigorous tests
  • TCFile writer ?
  • TCFile converter ?

Any suggestions and comments are welcome!

Test

# install this package in editable mode
git clone https://github.com/ehgus/TCFile.git
cd TCFile
pip install -e .
# execute pytest
pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TCFile-2023.4.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

tcfile-2023.4.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file TCFile-2023.4.1.tar.gz.

File metadata

  • Download URL: TCFile-2023.4.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for TCFile-2023.4.1.tar.gz
Algorithm Hash digest
SHA256 fc47b8b193f8248bf8e2171cb958d5ead2dbecc199f11a29b1a2782c09dc2139
MD5 72970e3fa99c58f64a355937b36befe5
BLAKE2b-256 250292dfa15a7d7cc4521b8a9b04bdcd271e73595008025f5bee5bc610cd28fa

See more details on using hashes here.

File details

Details for the file tcfile-2023.4.1-py3-none-any.whl.

File metadata

  • Download URL: tcfile-2023.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.2

File hashes

Hashes for tcfile-2023.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f992b250513247becfe244761649744055b4934f63433bb1aab9d7eee507824b
MD5 913d9d657a994e7bbf2f77db91b92df9
BLAKE2b-256 e46c87b614bf899e31bf3e50834be68ac78fd91288547fabb12d28a01b684d98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page