@@ -97,8 +97,9 @@ class AcquisitionSoftware(dj.Lookup):
9797
9898
9999@schema
100- class ProbeInsertion (dj .Manual ): # (acute)
100+ class ProbeInsertion (dj .Manual ):
101101 definition = """
102+ # Probe insertion implanted into an animal for a given session.
102103 -> Session
103104 insertion_number: tinyint unsigned
104105 ---
@@ -109,6 +110,7 @@ class ProbeInsertion(dj.Manual): # (acute)
109110@schema
110111class InsertionLocation (dj .Manual ):
111112 definition = """
113+ # Brain Location of a given probe insertion.
112114 -> ProbeInsertion
113115 ---
114116 -> SkullReference
@@ -124,6 +126,7 @@ class InsertionLocation(dj.Manual):
124126@schema
125127class EphysRecording (dj .Imported ):
126128 definition = """
129+ # Ephys recording from a probe insertion for a given session.
127130 -> ProbeInsertion
128131 ---
129132 -> probe.ElectrodeConfig
@@ -133,6 +136,7 @@ class EphysRecording(dj.Imported):
133136
134137 class EphysFile (dj .Part ):
135138 definition = """
139+ # Paths of files of a given EphysRecording round.
136140 -> master
137141 file_path: varchar(255) # filepath relative to root data directory
138142 """
@@ -233,6 +237,7 @@ def make(self, key):
233237@schema
234238class LFP (dj .Imported ):
235239 definition = """
240+ # Acquired local field potential (LFP) from a given Ephys recording.
236241 -> EphysRecording
237242 ---
238243 lfp_sampling_rate: float # (Hz)
@@ -325,6 +330,7 @@ def make(self, key):
325330@schema
326331class ClusteringMethod (dj .Lookup ):
327332 definition = """
333+ # Method for clustering
328334 clustering_method: varchar(16)
329335 ---
330336 clustering_method_desc: varchar(1000)
@@ -337,6 +343,7 @@ class ClusteringMethod(dj.Lookup):
337343@schema
338344class ClusteringParamSet (dj .Lookup ):
339345 definition = """
346+ # Parameter set to be used in a clustering procedure
340347 paramset_idx: smallint
341348 ---
342349 -> ClusteringMethod
@@ -387,6 +394,7 @@ class ClusterQualityLabel(dj.Lookup):
387394@schema
388395class ClusteringTask (dj .Manual ):
389396 definition = """
397+ # Manual table for defining a clustering task ready to be run
390398 -> EphysRecording
391399 -> ClusteringParamSet
392400 ---
@@ -404,6 +412,7 @@ class Clustering(dj.Imported):
404412 + If `task_mode == "load"`: verify output
405413 """
406414 definition = """
415+ # Clustering Procedure
407416 -> ClusteringTask
408417 ---
409418 clustering_time: datetime # time of generation of this set of clustering results
@@ -430,6 +439,7 @@ def make(self, key):
430439@schema
431440class Curation (dj .Manual ):
432441 definition = """
442+ # Manual curation procedure
433443 -> Clustering
434444 curation_id: int
435445 ---
@@ -465,12 +475,14 @@ def create1_from_clustering_task(self, key, curation_note=''):
465475@schema
466476class CuratedClustering (dj .Imported ):
467477 definition = """
478+ # Clustering results of a curation.
468479 -> Curation
469480 """
470481
471482 class Unit (dj .Part ):
472483 definition = """
473484 -> master
485+ # Properties of a given unit from a round of clustering (and curation)
474486 unit: int
475487 ---
476488 -> probe.ElectrodeConfig.Electrode # electrode with highest waveform amplitude for this unit
@@ -535,19 +547,22 @@ def make(self, key):
535547@schema
536548class WaveformSet (dj .Imported ):
537549 definition = """
550+ # A set of spike waveforms for units out of a given CuratedClustering
538551 -> CuratedClustering
539552 """
540553
541554 class PeakWaveform (dj .Part ):
542555 definition = """
556+ # Mean waveform across spikes for a given unit at its representative electrode
543557 -> master
544558 -> CuratedClustering.Unit
545559 ---
546- peak_electrode_waveform: longblob # (uV) mean waveform for this unit's peak electrode
560+ peak_electrode_waveform: longblob # (uV) mean waveform for a given unit at its representative electrode
547561 """
548562
549563 class Waveform (dj .Part ):
550564 definition = """
565+ # Spike waveforms and their mean across spikes for the given unit
551566 -> master
552567 -> CuratedClustering.Unit
553568 -> probe.ElectrodeConfig.Electrode
0 commit comments