-
Notifications
You must be signed in to change notification settings - Fork 6
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
indexing error on artifact removal #10
Comments
This issue doesn't appear to be related to multiple channels, as I replicated the error on another file that only recorded from one channel. On Oak, the data is at Sherlock command: Output (run locally):
|
@chrisroat I think the issue is the use of In this case, the uncorrected hdf5 file has a dataset with shape |
Doe the chunks parameter in da.from_array solve this issue? I've learned a bit more about ome.tiff and how to handle z_planes and timepoints. I am likely going to revisit a lot of logic here that kinda of got piled as I learned on-the-job. One thing I've considered is to process each z-plane independently. I think it would be more efficient (data could be stored in z/time/y/x ordering), but may not be worth it as it could be surprising/confusing if all the rest of the code is time/z/y/x. I value the "principle of least surprise". |
yes,
I prefer TZYX since my analysis usually runs on all z-planes concurrently, but others like NWB store by plane. Does TZYX preclude / add difficulty parallelization for some reason? |
Not really. Operating on t-slices is perfectly fine. I'd actually prefer to keep TZYX, as it's more typical and natural (and less surprising, I think). |
I'm not positive, but I think this error may relate to "Handle dual-channel where one channel is functional and the other is still measured." In this recording, located at
/oak/stanford/groups/deissero/users/tyler/b115/2020-10-28_elavl3-chrmine-Kv2.1_h2b6s_8dpf/fish2/TSeries_lrhab_raphe_40trial-044
(error trace below using my local path-- can replace/data/dlab
with/oak/stanford/groups/deissero/users/tyler
for sherlock), I record a structural channel in red (Ch2
) and a functional channel in green (Ch3
). I primarily care about removing stim artefact from Ch3, although don't mind removing from both!I get the following error on preprocessing:
The text was updated successfully, but these errors were encountered: