You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the diagram depicts, the array ephys element starts immediately downstream from ***Session***,
21
21
and also requires some notion of ***Location*** as a dependency for ***InsertionLocation***.
@@ -27,32 +27,47 @@ and also requires some notion of ***Location*** as a dependency for ***Insertion
27
27
+ An electrode here refers to one recordable electrode site on the Neuropixels probe (e.g. for Neuropixels 1.0, there are 960 sites per shank)
28
28
+***Probe*** - record of an actual physical probe, identifiable by some unique ID (e.g. probe's serial number)
29
29
+***ElectrodeConfig*** - particular electrode configuration to be used for ephys recording
30
-
+***ElectrodeConfig.Electrode*** - corresponding electrodes in ***ProbeType.Electrode*** that are used for recording in this electrode configuration
31
-
(e.g. for Neuropixels 1.0 or 2.0, there can be at most 384 electrodes usable for recording per probe)
30
+
+***ElectrodeConfig.Electrode*** - corresponding electrodes in ***ProbeType.Electrode*** that are used for recording in this electrode configuration (e.g. for Neuropixels 1.0 or 2.0, there can be at most 384 electrodes usable for recording per probe)
32
31
33
32
### Extracellular ephys recording
34
33
35
-
+***ProbeInsertion*** - a surgical insertion of a probe onto the animal.
36
-
Every experimental session consists of one or more ***ProbeInsertion***, with corresponding ***InsertionLocation***
37
-
+***EphysRecording*** - each ***ProbeInsertion*** is accompanied by a corresponding ***EphysRecording***,
38
-
specifying the ***ElectrodeConfig*** used for the recording from the ***Probe*** defined in such ***ProbeInsertion***
39
-
+ ***get_npx_data_dir*** method - the class ***EphysRecording*** requires user
40
-
to supply a method to retrieve the directory containing the recorded neuropixels data (e.g. `*.ap.meta`, `*.ap.bin`, etc.),
41
-
where the method's input arguments are the primary attributes identifying one ***EphysRecording***
34
+
+***ProbeInsertion*** - a surgical insertion of a probe in the brain. Every experimental session consists of one or more entries in ***ProbeInsertion*** with a corresponding ***InsertionLocation*** each
35
+
+***EphysRecording*** - each ***ProbeInsertion*** is accompanied by a corresponding ***EphysRecording***, specifying the ***ElectrodeConfig*** used for the recording from the ***Probe*** defined in such ***ProbeInsertion***
42
36
43
37
### Clusters and spikes
44
38
45
39
This ephys element features automatic ingestion for spike sorting results from the ***kilosort*** method.
46
40
47
41
+***Clustering*** - specify instance(s) of clustering on an ***EphysRecording***, by some ***ClusteringMethod***
48
-
+***get_ks_data_dir*** method - the class ***Clustering*** requires user
49
-
to supply a method to retrieve the directory containing the kilosort results,
50
-
where the method's input arguments are the primary attributes identifying one ***Clustering***
51
-
+***Unit*** - Identified unit(s) from one ***Clustering***, with associated ***ClusterQualityLabel***
52
-
+***UnitSpikeTimes*** - spike times per unit
53
-
+***Waveform*** - mean waveform across spikes per unit per recording electrode
42
+
+***Curation*** - specify instance(s) of curations performed on the output of a given ***Clustering***
43
+
+***CuratedClustering*** - set of results from a particular round of clustering/curation
44
+
+***CuratedClustering.Unit*** - Identified unit(s) from one ***Curation***, and the associated properties (e.g. cluster quality, spike times, spike depths, etc.)
45
+
+***WaveformSet*** - A set of spike waveforms for units from a given CuratedClustering
54
46
55
47
56
48
## Usage
57
49
50
+
### Element activation
51
+
52
+
To activate the `element-array-ephys`, ones need to provide:
53
+
54
+
1. Schema names
55
+
+ schema name for the probe module
56
+
+ schema name for the ephys module
57
+
58
+
2. Upstream tables
59
+
+ Session table
60
+
+ SkullReference table (Reference table for InsertionLocation, specifying the skull reference)
61
+
62
+
3. Utility functions
63
+
+ get_ephys_root_data_dir()
64
+
+ get_session_directory()
65
+
66
+
For more detail, check the docstring of the `element-array-ephys`:
67
+
68
+
help(probe.activate)
69
+
help(ephys.activate)
70
+
71
+
### Example usage
72
+
58
73
See [this project](https://github.com/datajoint/workflow-array-ephys) for an example usage of this Array Electrophysiology Element.
0 commit comments