@@ -97,8 +97,9 @@ class AcquisitionSoftware(dj.Lookup):
97
97
98
98
99
99
@schema
100
- class ProbeInsertion (dj .Manual ): # (acute)
100
+ class ProbeInsertion (dj .Manual ):
101
101
definition = """
102
+ # Probe insertion implanted into an animal for a given session.
102
103
-> Session
103
104
insertion_number: tinyint unsigned
104
105
---
@@ -109,6 +110,7 @@ class ProbeInsertion(dj.Manual): # (acute)
109
110
@schema
110
111
class InsertionLocation (dj .Manual ):
111
112
definition = """
113
+ # Brain Location of a given probe insertion.
112
114
-> ProbeInsertion
113
115
---
114
116
-> SkullReference
@@ -124,6 +126,7 @@ class InsertionLocation(dj.Manual):
124
126
@schema
125
127
class EphysRecording (dj .Imported ):
126
128
definition = """
129
+ # Ephys recording from a probe insertion for a given session.
127
130
-> ProbeInsertion
128
131
---
129
132
-> probe.ElectrodeConfig
@@ -133,6 +136,7 @@ class EphysRecording(dj.Imported):
133
136
134
137
class EphysFile (dj .Part ):
135
138
definition = """
139
+ # Paths of files of a given EphysRecording round.
136
140
-> master
137
141
file_path: varchar(255) # filepath relative to root data directory
138
142
"""
@@ -233,6 +237,7 @@ def make(self, key):
233
237
@schema
234
238
class LFP (dj .Imported ):
235
239
definition = """
240
+ # Acquired local field potential (LFP) from a given Ephys recording.
236
241
-> EphysRecording
237
242
---
238
243
lfp_sampling_rate: float # (Hz)
@@ -325,6 +330,7 @@ def make(self, key):
325
330
@schema
326
331
class ClusteringMethod (dj .Lookup ):
327
332
definition = """
333
+ # Method for clustering
328
334
clustering_method: varchar(16)
329
335
---
330
336
clustering_method_desc: varchar(1000)
@@ -337,6 +343,7 @@ class ClusteringMethod(dj.Lookup):
337
343
@schema
338
344
class ClusteringParamSet (dj .Lookup ):
339
345
definition = """
346
+ # Parameter set to be used in a clustering procedure
340
347
paramset_idx: smallint
341
348
---
342
349
-> ClusteringMethod
@@ -387,6 +394,7 @@ class ClusterQualityLabel(dj.Lookup):
387
394
@schema
388
395
class ClusteringTask (dj .Manual ):
389
396
definition = """
397
+ # Manual table for defining a clustering task ready to be run
390
398
-> EphysRecording
391
399
-> ClusteringParamSet
392
400
---
@@ -404,6 +412,7 @@ class Clustering(dj.Imported):
404
412
+ If `task_mode == "load"`: verify output
405
413
"""
406
414
definition = """
415
+ # Clustering Procedure
407
416
-> ClusteringTask
408
417
---
409
418
clustering_time: datetime # time of generation of this set of clustering results
@@ -430,6 +439,7 @@ def make(self, key):
430
439
@schema
431
440
class Curation (dj .Manual ):
432
441
definition = """
442
+ # Manual curation procedure
433
443
-> Clustering
434
444
curation_id: int
435
445
---
@@ -465,12 +475,14 @@ def create1_from_clustering_task(self, key, curation_note=''):
465
475
@schema
466
476
class CuratedClustering (dj .Imported ):
467
477
definition = """
478
+ # Clustering results of a curation.
468
479
-> Curation
469
480
"""
470
481
471
482
class Unit (dj .Part ):
472
483
definition = """
473
484
-> master
485
+ # Properties of a given unit from a round of clustering (and curation)
474
486
unit: int
475
487
---
476
488
-> probe.ElectrodeConfig.Electrode # electrode with highest waveform amplitude for this unit
@@ -535,19 +547,22 @@ def make(self, key):
535
547
@schema
536
548
class WaveformSet (dj .Imported ):
537
549
definition = """
550
+ # A set of spike waveforms for units out of a given CuratedClustering
538
551
-> CuratedClustering
539
552
"""
540
553
541
554
class PeakWaveform (dj .Part ):
542
555
definition = """
556
+ # Mean waveform across spikes for a given unit at its representative electrode
543
557
-> master
544
558
-> CuratedClustering.Unit
545
559
---
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
547
561
"""
548
562
549
563
class Waveform (dj .Part ):
550
564
definition = """
565
+ # Spike waveforms and their mean across spikes for the given unit
551
566
-> master
552
567
-> CuratedClustering.Unit
553
568
-> probe.ElectrodeConfig.Electrode
0 commit comments