Skip to content

Commit 33a421b

Browse files
author
Thinh Nguyen
committed
remove Quality Control - will add this as a separate element
1 parent af54831 commit 33a421b

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

element_array_ephys/ephys.py

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -639,39 +639,6 @@ def yield_unit_waveforms():
639639
self.UnitElectrode.insert(unit_electrode_waveforms, ignore_extra_fields=True)
640640

641641

642-
# ----------- Quality Control ----------
643-
644-
645-
@schema
646-
class QualityControl(dj.Imported):
647-
definition = """ # Quality control metrics for a set of CuratedClustering
648-
-> CuratedClustering
649-
"""
650-
651-
class ClusterQualityMetrics(dj.Part):
652-
definition = """ # Quality metrics for each cluster
653-
-> master
654-
-> CuratedClustering.Unit
655-
---
656-
amp: float
657-
snr: float
658-
isi_violation: float
659-
firing_rate: float
660-
presence_ratio: float # Fraction of epoch in which spikes are present
661-
amplitude_cutoff: float # Estimate of miss rate based on amplitude histogram
662-
isolation_distance=null: float # Distance to nearest cluster in Mahalanobis space
663-
l_ratio=null: float #
664-
d_prime=null: float # Classification accuracy based on LDA
665-
nn_hit_rate=null: float #
666-
nn_miss_rate=null: float
667-
silhouette_score=null: float # Standard metric for cluster overlap
668-
max_drift=null: float # Maximum change in spike depth throughout recording
669-
cumulative_drift=null: float # Cumulative change in spike depth throughout recording
670-
"""
671-
672-
def make(self, key):
673-
pass
674-
675642
# ---------------- HELPER FUNCTIONS ----------------
676643

677644

0 commit comments

Comments
 (0)