-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working on grpah loading of nwb files
- Loading branch information
1 parent
b555ccb
commit 49585e4
Showing
8 changed files
with
199 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Sketch of a condensed expression syntax for creation with nwb-linkml | ||
# just a sketch! keeping here for continued work but currentl unused. | ||
--- | ||
id: my_dataset | ||
|
||
prefixes: | ||
nwbfile: | ||
- path: "test_nwb.nwb" | ||
- hash: "blake2b:blahblahblahblah" | ||
|
||
imports: | ||
core: | ||
as: nwb | ||
version: "2.7.0" | ||
from: | ||
- pypi: | ||
package: nwb-models | ||
hdmf-common: | ||
as: hdmf | ||
version: "1.8.0" | ||
from: | ||
- pypi: | ||
package: nwb-models | ||
--- | ||
|
||
extracellular_ephys: &ecephys | ||
electrodes: | ||
group: | ||
- @shank{{i}} | ||
- @shank{{i}} | ||
- @shank{{i}} | ||
# could have expression here like { range(3) } => i | ||
# - ... { range(3) } => i | ||
# or blank ... implies use expression from outer scope | ||
- ... | ||
shank{{i}}: | ||
device: @general.devices.array | ||
...: { range(3) } => i | ||
|
||
# expands to | ||
extracellular_ephys: | ||
electrodes: | ||
group: | ||
- @shank0 | ||
- @shank0 | ||
- @shank0 | ||
- @shank1 | ||
- # etc. | ||
shank0: | ||
device: @general.devices.array | ||
shank1: | ||
device: @general.devices.array | ||
# etc. | ||
|
||
data: !{{ nwb.NWBFile }} <== :nwbfile | ||
file_create_date: [ 2024-01-01 ] | ||
identifier: "1111-1111-1111-1111" | ||
session_description: All that you touch, you change. | ||
session_start_time: 2024-01-01T01:01:01 | ||
general: | ||
devices: | ||
- Heka ITC-1600: | ||
- Microscope: | ||
- array: | ||
description: old reliable | ||
manufacturer: diy | ||
extracellular_ephys: *ecephys | ||
|
||
experiment_description: All that you change, changes you. | ||
experimenter: [ "Lauren Oya Olamina" ] | ||
institution: Earthseed Research Institute | ||
keywords: | ||
- behavior | ||
- belief | ||
related_publications: doi:10.1016/j.neuron.2016.12.011 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters