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

Uploaded Source

Built Distribution

tcfile-2023.7-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tcfile-2023.7.tar.gz
Algorithm Hash digest
SHA256 ed3073f798e37fd001fb3af0fda8137179bb5d26748dc4297b0db008a0601988
MD5 066882cbf4ab15f0d8006716fcf573fa
BLAKE2b-256 148832b1d2dcedd95af5d91ca7759b9ecfbf373c1e001a537bd72d5bde74be64

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tcfile-2023.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7eabfdf0286dd49f041850c0970e71ddcc66b59bb20e536e0fb3945845adea30
MD5 f0330291f172bffb78db1e5a7d8bf5ad
BLAKE2b-256 a8a025ee2894458c357d46812d935f88ce799ba0e1012beefd3f38fce6ae841c

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