You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a use case to help us understand your request in context
Hi all, aicsimageio is a very powerful tool, but when I load .czi time series I cannot read the time interval between 2 consecutive time frames. With the package czifile (by Christoph Gohlke) I can calculate the difference between two consecutive time stamps.
I tried to read metadata, but did not work. I really woul like to be able to read this info using aicsimageio. In attach a file
Solution
Please describe your ideal solution
Whatever works is fine to me, maybe a new attribute with the value I am searching for, like you do for pixel size.
Alternatives
Please describe any alternatives you've considered, even if you've dismissed them
What I have been using up to now is a piece of code that uses the czifile package:
with czifile.CziFile(str(fnames[0])) as czi: # read the time step
for attachment in czi.attachments():
if attachment.attachment_entry.name == 'TimeStamps':
timestamps = attachment.data()
break
else:
raise ValueError('TimeStamps not found')
time_step_value = np.round(timestamps[1] - timestamps[0], 2) # time step value
Thanks a lot
The text was updated successfully, but these errors were encountered:
Use Case
Please provide a use case to help us understand your request in context
Hi all, aicsimageio is a very powerful tool, but when I load .czi time series I cannot read the time interval between 2 consecutive time frames. With the package czifile (by Christoph Gohlke) I can calculate the difference between two consecutive time stamps.
I tried to read metadata, but did not work. I really woul like to be able to read this info using aicsimageio. In attach a file
Solution
Please describe your ideal solution
Whatever works is fine to me, maybe a new attribute with the value I am searching for, like you do for pixel size.
Alternatives
Please describe any alternatives you've considered, even if you've dismissed them
What I have been using up to now is a piece of code that uses the czifile package:
with czifile.CziFile(str(fnames[0])) as czi: # read the time step
for attachment in czi.attachments():
if attachment.attachment_entry.name == 'TimeStamps':
timestamps = attachment.data()
break
else:
raise ValueError('TimeStamps not found')
time_step_value = np.round(timestamps[1] - timestamps[0], 2) # time step value
Thanks a lot
The text was updated successfully, but these errors were encountered: