Skip to content

Commit df76f94

Browse files
authored
Merge pull request #3261 from jonahpearl/pca_doc_fix
Fix name of principal_components ext in qm docs (take 2)
2 parents eccc66a + 40b2539 commit df76f94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/modules/qualitymetrics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This code snippet shows how to compute quality metrics (with or without principa
5757
5858
# with PCs (depends on "pca" in addition to the above metrics)
5959
60-
qm_ext = sorting_analyzer.compute(input={"pca": dict(n_components=5, mode="by_channel_local"),
60+
qm_ext = sorting_analyzer.compute(input={"principal_components": dict(n_components=5, mode="by_channel_local"),
6161
"quality_metrics": dict(skip_pc_metrics=False)})
6262
metrics = qm_ext.get_data()
6363
assert 'isolation_distance' in metrics.columns

0 commit comments

Comments
 (0)