Class for reading Bitplane imaris files (*.ims)
Project description
imaris-ims-file-reader
Imaris file format reader - *.ims
pip install imaris-ims-file-reader
from imaris_ims_file_reader.ims import ims
a = ims(myFile.ims)
# Slice a like a numpy array always with 5 axes to access the highest resolution - level 0 - (t,c,z,y,x)
a[0,0,5,:,:] # Time point 0, Channel 0, z-layer 5
# Slice in 6 axes to designate the desired resolution level to work with - 0 is default and the highest resolution
a[3,0,0,5,:,:] # Resolution Level 3, Time point 0, Channel 0, z-layer 5
print(a.ResolutionLevelLock)
print(a.ResolutionLevels)
print(a.TimePoints)
print(a.Channels)
print(a.shape)
print(a.chunks)
print(a.dtype)
print(a.ndim)
# A 'resolution lock' can be set when making the class which allows for 5 axis slicing that always extracts from that resoltion level
a = ims(myFile.ims,ResolutionLevelLock=3)
# Change ResolutionLevelLock after the class is open
a.change_resolution_lock(2)
print(a.ResolutionLevelLock)
Change Log:
v0.1.3:
Class name has been changed to all lowercase ('ims') to be compatible with many other dependent applications.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imaris_ims_file_reader-0.1.3.tar.gz
(102.1 MB
view hashes)
Built Distribution
Close
Hashes for imaris_ims_file_reader-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b384eb27b76a87553d96d868190b5e2c5db92dc237065db87a226a9be9f7d0 |
|
MD5 | 6108f44dfea121f0e59ef42843742fd5 |
|
BLAKE2b-256 | a4cf865a712a95c305b46d039e6bf0c8b14d421d80ca01560f3f51cb91204670 |
Close
Hashes for imaris_ims_file_reader-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 089afdbf019d6c14326c9f8614b0466bd9cf5f188d3ac85ca112ed8855ed3d12 |
|
MD5 | 4dd584d235c2d188202a8ee5f9875046 |
|
BLAKE2b-256 | 26b1a43c34a74c0ec0a2ad1003e0c1dfe67586c4db3c2467688798082cbc7d80 |