- set mode to composite
This commit is contained in:
2
setup.py
2
setup.py
@@ -5,7 +5,7 @@ with open('README.md', 'r') as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='tiffwrite',
|
name='tiffwrite',
|
||||||
version='2022.5.1',
|
version='2022.5.2',
|
||||||
author='Wim Pomp @ Lenstra lab NKI',
|
author='Wim Pomp @ Lenstra lab NKI',
|
||||||
author_email='w.pomp@nki.nl',
|
author_email='w.pomp@nki.nl',
|
||||||
description='Parallel tiff writer compatible with ImageJ.',
|
description='Parallel tiff writer compatible with ImageJ.',
|
||||||
|
|||||||
@@ -440,7 +440,7 @@ class IJTiffFile:
|
|||||||
else:
|
else:
|
||||||
desc.extend((f'images={np.prod(self.shape)}', f'channels={self.shape[0]}', f'slices={self.shape[1]}',
|
desc.extend((f'images={np.prod(self.shape)}', f'channels={self.shape[0]}', f'slices={self.shape[1]}',
|
||||||
f'frames={self.shape[2]}'))
|
f'frames={self.shape[2]}'))
|
||||||
desc.extend(('hyperstack=true', 'mode=grayscale', 'loop=false', 'unit=micron'))
|
desc.extend(('hyperstack=true', 'mode=composite', 'loop=false', 'unit=micron'))
|
||||||
if self.deltaz is not None:
|
if self.deltaz is not None:
|
||||||
desc.append(f'spacing={self.deltaz}')
|
desc.append(f'spacing={self.deltaz}')
|
||||||
if self.timeinterval is not None:
|
if self.timeinterval is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user