Sharing mesoscale calcium imaging in nwb format #73
-
Hi All, I would like to share mesoscale optical calcium imaging data on dandi, but after reading the docs I am unsure about the best way of adhering to nwb. Apologies in advance for the long post. TLDR; whats the best way to share large amounts of 2D x Time optical data (currently in nifti format) using nwb. More info: Data Description Solution? Thanks for any help you can offer. Dave |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Dave, I'm glad to hear you're interested in using NWB and DANDI to share your data! If you haven't seen it yet, I would recommend starting out with a quick glance through the NWB Overview.
To share the data on the DANDIArchive, this data must be in NWB format: please reach out on the NWB Helpdesk if you have any further questions.
Thankfully, one of the final steps before performing the
The great thing about NWB files (indeed, thanks to the HDF5 backend) is that all data access is performed lazily; that is, it only loads particular selections of data on-demand. You can open the file and explore its high-level contents without overwhelming your RAM. Another great thing about NWB is we make it easy to use lossless compression on the data contained in the file, so all your TIFF stacks ought to be reduced 20%-30% in total size (based on past personal experience) without any change to the data itself, which can free up a lot of space on your hard drives.
Assuming this is 2-photon data (sorry if you mentioned that above and I missed it), I would recommend the TwoPhotonSeries type. If not, then I would try to make every attempt to use the other types in the Optical Physiology section of the schema. As for the frame-splitting, I'm not 100% sure, but I would probably just have each signal-sensitive condition added as a separate series. Might be worth asking over among the ophys experts on the NWB side.
Indeed, a single NWBFile typically contains all of the data associated with a single session's worth of data. Also, one very important thing to ensure is that all time references throughout the file are synchronized to the We're here to help throughout this process, so again, if you have any other questions, please don't hesitate to reach out at the NWB Helpdesk or anywhere else more specific in the NWB ecosystem. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Cody, Thanks for you response. I still have questions, but I realize the nwb helpdesk is more appropriate for this enquiry so I will post there. Cheers, Dave |
Beta Was this translation helpful? Give feedback.
Hi Dave, I'm glad to hear you're interested in using NWB and DANDI to share your data! If you haven't seen it yet, I would recommend starting out with a quick glance through the NWB Overview.
To share the data on the DANDIArchive, this data must be in NWB format: please reach out on the NWB Helpdesk if you have any further questions.
Thankfully, one of the final steps before performing the
dandi upload
is callingdandi organize
on your NWBFiles, which will automatically structure the folder into the way DANDI requires.