Datamodel for Surgical Information in the Brain (And Elsewhere?!) + Imaging Properties #179
jmdelahanty
started this conversation in
Ideas
Replies: 2 comments
-
Going to post a json formatted thing in the next couple of days. It's ugly. One could say it's been... botched? Like a botched surgery, get it? ...sorry |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone!
I was chatting with @sneakers-the-rat over Twitter a little bit ago and was discussing how to store weights in a useful/easily accessible way. They showed me how to do it really nicely using whatever serialization format I wanted! Here was an example they sent along for posterity:
The subject of this post, however, is to open up a discussion about how to incorporate surgical information into autopilot's datamodel. Here's an example file that I made by taking all the stuff lab mates recorded in different places as well as some stuff that the NWB standard asked for:
This method of doing things basically has an individual file per subject, and there's different sorts of metadata stored in different files. I think the way Autopilot does things is the way to go, where there's a deliberate subject data model that's flexible and easy to append to/load however you need. However, the world of performing surgery upon the brain of model organisms is so crazy complex/varied that I have no idea what a good datamodel for these sorts of things should or really could even look like. Autopilot already has solutions for this sort of thing but I'm still working on getting people to join me on the journey...
One immediate change that Jonny suggested is to no longer have the key be a specific date but rather have a
surgeries
field that gets appended to. I'm not sure when I'll get to changing that for how one project is doing things, but moving forward I'd like to have things organized how Autopilot does it.I think the main overall "categories" of things I've experienced recording during surgeries is:
Another thing that's related to all this is stuff that's stored as imaging parameters for a given mouse in a 2-photon setup. There are settings related to how much voltage to pass through photo-multiplier tubes (or PMTs) and how much power to send through the laser for example. Currently, these things will probably be stored in yet another file because I'm a doofus. However, things like this would be quite helpful to have available in an autopilot datamodel I think!
Similar settings associated with electrical/optical stimulation parameters for example could also probably be stored on a per subject basis instead of a per project basis.
I figured I'd post here and open a discussion about what a datamodel for storing things like this should look like.
Beta Was this translation helpful? Give feedback.
All reactions