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.
v0.1.4:
Bug Fix: Issue #4, get_Volume_At_Specific_Resolution does not extract the desired time point and color
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.4.tar.gz
(102.1 MB
view hashes)
Built Distribution
Close
Hashes for imaris_ims_file_reader-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d52fccb03ca7ebae50b8d04bbffe98300184d8a6d4d45e3058d505af1ea331f |
|
MD5 | c08b38a74269b2d9de833acef4831367 |
|
BLAKE2b-256 | 2218346f9c4b3f5ba37a1a027226557139706f00c789c2b00eade581eb72f239 |
Close
Hashes for imaris_ims_file_reader-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076e04138eb7f25ce8bd8391230128e06293bb8665f73050fa4e8df8dd36b3c8 |
|
MD5 | 1c8d552ad2a828a817cc064f8f7016f1 |
|
BLAKE2b-256 | 66195cb078508dd6d043c507ee8abe664854b2ccccb6ba025411f8b497ea2075 |