-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected behavior of get_frame args #39
Comments
Likewise...
Shows four sequential z-slices of channel 0 in a four channel LIF series. EDIT: Apologies, still learning. I should have looked at the source code; get_iter_c simply calls get_frame. |
Thanks for the bug report! No issue on your end, but I think this is a result of the file being organized differently than expected. I'm wondering if this is the same issue described in #19. I made a workaround for that specific situation, but without more examples I didn't know how to generalize the solution. If you wouldn't mind sharing the file, a fix could probably be made! If you don't want to share the file publicly, you can send me a twitter DM (find that in my profile). |
To add, if you need to work on your data quickly, the python-bioformats package should be feature complete. Although the memory and install requirements are greater. |
Hi Nick,
Thank you for creating this! I'm not a trained programmer and I apologize if I'm simply misusing your package. Here's my issue:
Create a basic object and load the second series:
The following should display a grayscale image of the first channel of the first z-slice in my series, and it does:
img_1.get_frame(z=0, t=0, c=0, m=0).show()
Changing c=0 to c=1 does not display the second channel. What I see is the second z-slice of the first channel.
img_1.get_frame(z=0, t=0, c=1, m=0).show()
In order to see the second channel, I need to increment the value for z=*.
img_1.get_frame(z=1, t=0, c=0, m=0).show()
I wasn't able to upload my LIF file, likely due to size, but I'd be happy to share it with you.
The text was updated successfully, but these errors were encountered: