-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix default electrical series naming for SpikeGLXConverter (#957)
Co-authored-by: CodyCBakerPhD <[email protected]>
- Loading branch information
1 parent
8912133
commit fa63645
Showing
12 changed files
with
249 additions
and
41 deletions.
There are no files selected for viewing
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
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
1 change: 0 additions & 1 deletion
1
tests/test_on_data/test_format_converters/single_probe_metadata.json
This file was deleted.
Oops, something went wrong.
63 changes: 63 additions & 0 deletions
63
tests/test_on_data/test_format_converters/spikeglx_multi_probe_metadata.json
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,63 @@ | ||
{ | ||
"NWBFile": { | ||
"session_description": "" | ||
}, | ||
"Ecephys": { | ||
"Device": [ | ||
{ | ||
"name": "NeuropixelImec0", | ||
"description": "{\"probe_type\": \"0\", \"probe_type_description\": \"NP1.0\", \"flex_part_number\": \"NP2_FLEX_0\", \"connected_base_station_part_number\": \"NP2_QBSC_00\"}", | ||
"manufacturer": "Imec" | ||
}, | ||
{ | ||
"name": "NeuropixelImec1", | ||
"description": "{\"probe_type\": \"0\", \"probe_type_description\": \"NP1.0\", \"flex_part_number\": \"NP2_FLEX_0\", \"connected_base_station_part_number\": \"NP2_QBSC_00\"}", | ||
"manufacturer": "Imec" | ||
} | ||
], | ||
"ElectrodeGroup": [ | ||
{ | ||
"name": "Imec0Shank0", | ||
"description": "A group representing probe/shank 'Imec0Shank0'.", | ||
"location": "unknown", | ||
"device": "NeuropixelImec0" | ||
}, | ||
{ | ||
"name": "Imec1Shank0", | ||
"description": "A group representing probe/shank 'Imec1Shank0'.", | ||
"location": "unknown", | ||
"device": "NeuropixelImec1" | ||
} | ||
], | ||
"ElectricalSeriesAPImec0": { | ||
"name": "ElectricalSeriesAPImec0", | ||
"description": "Acquisition traces for the ElectricalSeriesAPImec0." | ||
}, | ||
"Electrodes": [ | ||
{ | ||
"name": "shank_electrode_number", | ||
"description": "0-indexed channel within a shank." | ||
}, | ||
{ | ||
"name": "group_name", | ||
"description": "Name of the ElectrodeGroup this electrode is a part of." | ||
}, | ||
{ | ||
"name": "contact_shapes", | ||
"description": "The shape of the electrode" | ||
} | ||
], | ||
"ElectricalSeriesAPImec1": { | ||
"name": "ElectricalSeriesAPImec1", | ||
"description": "Acquisition traces for the ElectricalSeriesAPImec1." | ||
}, | ||
"ElectricalSeriesLFImec0": { | ||
"name": "ElectricalSeriesLFImec0", | ||
"description": "Acquisition traces for the ElectricalSeriesLFImec0." | ||
}, | ||
"ElectricalSeriesLFImec1": { | ||
"name": "ElectricalSeriesLFImec1", | ||
"description": "Acquisition traces for the ElectricalSeriesLFImec1." | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
tests/test_on_data/test_format_converters/spikeglx_single_probe_metadata.json
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,59 @@ | ||
{ | ||
"NWBFile": { | ||
"session_description": "" | ||
}, | ||
"Ecephys": { | ||
"Device": [ | ||
{ | ||
"name": "NeuropixelImec0", | ||
"description": "{\"probe_type\": \"0\", \"probe_type_description\": \"NP1.0\", \"flex_part_number\": \"NP2_FLEX_0\", \"connected_base_station_part_number\": \"NP2_QBSC_00\"}", | ||
"manufacturer": "Imec" | ||
}, | ||
{ | ||
"name": "NIDQBoard", | ||
"description": "A NIDQ board used in conjunction with SpikeGLX.", | ||
"manufacturer": "National Instruments" | ||
} | ||
], | ||
"ElectrodeGroup": [ | ||
{ | ||
"name": "Imec0Shank0", | ||
"description": "A group representing probe/shank 'Imec0Shank0'.", | ||
"location": "unknown", | ||
"device": "NeuropixelImec0" | ||
}, | ||
{ | ||
"name": "NIDQChannelGroup", | ||
"description": "A group representing the NIDQ channels.", | ||
"location": "unknown", | ||
"device": "NIDQBoard" | ||
} | ||
], | ||
"ElectricalSeriesAPImec0": { | ||
"name": "ElectricalSeriesAPImec0", | ||
"description": "Acquisition traces for the ElectricalSeriesAPImec0." | ||
}, | ||
"Electrodes": [ | ||
{ | ||
"name": "shank_electrode_number", | ||
"description": "0-indexed channel within a shank." | ||
}, | ||
{ | ||
"name": "group_name", | ||
"description": "Name of the ElectrodeGroup this electrode is a part of." | ||
}, | ||
{ | ||
"name": "contact_shapes", | ||
"description": "The shape of the electrode" | ||
} | ||
], | ||
"ElectricalSeriesNIDQ": { | ||
"name": "ElectricalSeriesNIDQ", | ||
"description": "Raw acquisition traces from the NIDQ (.nidq.bin) channels." | ||
}, | ||
"ElectricalSeriesLFImec0": { | ||
"name": "ElectricalSeriesLFImec0", | ||
"description": "Acquisition traces for the ElectricalSeriesLFImec0." | ||
} | ||
} | ||
} |
Oops, something went wrong.