From 40b253935fab880c53441c6356b022606fd11577 Mon Sep 17 00:00:00 2001 From: jonahpearl Date: Fri, 26 Jul 2024 08:41:00 -0400 Subject: [PATCH] fix name of principal_components ext in qm docs --- doc/modules/qualitymetrics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/qualitymetrics.rst b/doc/modules/qualitymetrics.rst index 04a302c597..f119693203 100644 --- a/doc/modules/qualitymetrics.rst +++ b/doc/modules/qualitymetrics.rst @@ -57,7 +57,7 @@ This code snippet shows how to compute quality metrics (with or without principa # with PCs (depends on "pca" in addition to the above metrics) - qm_ext = sorting_analyzer.compute(input={"pca": dict(n_components=5, mode="by_channel_local"), + qm_ext = sorting_analyzer.compute(input={"principal_components": dict(n_components=5, mode="by_channel_local"), "quality_metrics": dict(skip_pc_metrics=False)}) metrics = qm_ext.get_data() assert 'isolation_distance' in metrics.columns