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-2024.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

tcfile-2024.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file tcfile-2024.2.tar.gz.

File metadata

  • Download URL: tcfile-2024.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for tcfile-2024.2.tar.gz
Algorithm Hash digest
SHA256 3a71a1ec4098e24f4c935c8d06648aaa30dbc4044fb577c628d704b339033cd7
MD5 8e37f970dbbc6ece299475aab784688a
BLAKE2b-256 f3efad5cdad8c47c0d673afe5c5a86f27defbab0eba3ecf7334df11c5e06584a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tcfile-2024.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b4d4f7ff85943cea3d5be8f139ffa4894dd509f80b25944764fe8f9f34189bf
MD5 51014f2c5492a93fe409ef68e8dfa545
BLAKE2b-256 dead7fcef4c5911a21b328c47df1fd22a470af809a448eb5afd88ad490cdaa22

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