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

Uploaded Source

Built Distribution

tcfile-2024.9-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tcfile-2024.9.tar.gz
Algorithm Hash digest
SHA256 e00b12eb92210178ef5395d335d441f6207e3397ab4e17309b4fb68615ae6862
MD5 8f91bb0fc9474d1099cc37a3906b1b58
BLAKE2b-256 ae13eaba3f1ea816a45aee35d89dd3dd092b14456cabd28b30d21b7a56198392

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tcfile-2024.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4403203dbed3b65e1b9c208ef0d37337c36fa415ba5edd22ea47ed6f9a97f3fd
MD5 f30ca960f458a75f7b7a5d84fc673f7a
BLAKE2b-256 307f5f211d13ee4411d32233ff672fe5a17290e9d057537222d041ae65b8e0f2

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