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

Uploaded Source

Built Distribution

tcfile-2024.10-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tcfile-2024.10.tar.gz
Algorithm Hash digest
SHA256 d17ce7e691d9bef514c85780363ddfeebd493be893c4c6cb26d2702c350a7880
MD5 d6e0f5a9021edc4f4dad7a6288bbba0e
BLAKE2b-256 db0fecd15d4d93bee36b40b42fc940d3095804e5e76a193b3f1c24e1344b5f01

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tcfile-2024.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f2cafcef7d1d2eee136099ec5a72ad15ea27999d2aee3b46b61c19a63c110e8d
MD5 a2deb6d42ae20d957d532d000052a97a
BLAKE2b-256 f4641c0039143881cd2366064aad8e02cdf98d0147895da3fdd03a53535b6976

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