Skip to main content

tiftool

Project description

tiftool: A Python package for Microscopy tif images

The package for dealing tif stack image. Oriented for Microscopy image, offering useful processing. Under construction, I'll make description site and more functions, maybe for 2020.07.

Installation

pip

tiftool can installed via pip. Simply run this code by terminal.

pip install tiftool

Latest version is 0.1.5. If you have older version of tiftool, run this code to update. I strongly recommend to use latest version.

pip install tiftool -U

Running tiftool

Basic things using stack object

import tiftool.stack as st

larva = st.Stack().open("larva.tif").to_tensor()  # Change to torch.tensor, default data is numpy array.
raw_data = larva._data  # You can access the raw data inside Stack() object.
print(raw_data.size())  # torch.size([1098, 890, 64]) (x, y, z)

MIP = a.mip_3d()  # Return Maximum Intensity Project for x, y, z axis
MIP.show()  # Show image using matplotlib
MIP.write("mip_larva.tif")  # write at your input path

See tiftool docs for more details. (Not constructed)

Issues & Contribution

I appreciate for all issues and contributions. You can use 'issues' tab, 'Pull request' tab, or e-mail me! I want to develop this package as a powerful toolkit for microscopy data researcher and if you mind, contribute with me! :smiley:

LICENSE

This package follows MIT LICENSE.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiftool-0.1.9-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file tiftool-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: tiftool-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for tiftool-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 073bc28e4eac8e8fbf49cb14ad3a5102701c8e8924aee36f89e86610626df5bd
MD5 f6e31c4f8d65b7d0890c013b0d07dc98
BLAKE2b-256 18659e27fd6aea13f299827650fb0506e0cac3b8b30d5b7c08d704af448bab10

See more details on using hashes here.

Supported by

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