Back to the projects list
NWB and DataJoint
Session Chair: Shan Shen (Vathes)
Participants
- Oliver Ruebel
- Shan Shen
- Ryan Ly
- Benjamin Dichter
- Andrew Tritt
- Satrajit Ghosh
Objectives
- Figure out directions to improve interoperability between NWB and DataJoint
Proposed discussion topics
- Demo working on NWB objects and files with DataJoint
- Discuss strategies and needs for NWB DataJoint integration
Approach and Plan
- DataJoint developed the feature dj.AttributeAdapter to support arbiturary data types
- This repository provides a simple demo for how to create an customized data type (e.g. NWB object), insert and fetch that data type to/from the DataJoint table
- There are two major ways to implement an NWB object as an DJ adaptive fields
a. save all parameters as a dictionary in the
put
function and reconstruct the nwb object in the get
function
b. save the object in an nwb file with an external link to the master file in the put
function and return the filepath in the get
function
Progress and Next Steps
Notes:
- A potential NWB extension for DataJoint, which packs the NWB object corresponding DJ attribute adapters.
- b) in the last section is preferable because every instantiation of an nwb object will assign a new object id. A better way to store meta information is to put them in the master file in the
Materials
Background and References
https://github.com/vathes/DataJoint-NWB-showcase