Skip to content

Commit

Permalink
Merge pull request #3261 from jonahpearl/pca_doc_fix
Browse files Browse the repository at this point in the history
Fix name of principal_components ext in qm docs (take 2)
  • Loading branch information
alejoe91 authored Jul 29, 2024
2 parents eccc66a + 40b2539 commit df76f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/modules/qualitymetrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df76f94

Please sign in to comment.