Skip to content

Commit dc0e470

Browse files
committed
Update vector matching demo to follow 0.7 API
1 parent 6e7da02 commit dc0e470

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Phase & Orientation Mapping.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
"metadata": {},
277277
"outputs": [],
278278
"source": [
279-
"match_results.plot_best_matching_results_on_signal(test_data, template_library, cmap='viridis')"
279+
"match_results.plot_best_matching_results_on_signal(test_data, template_library, permanent_markers=False, cmap='viridis')"
280280
]
281281
},
282282
{
@@ -404,7 +404,7 @@
404404
"cell_type": "markdown",
405405
"metadata": {},
406406
"source": [
407-
"Plot indexed peaks on top of the data"
407+
"Plot indexed peaks on top of the data using the template library from above to generate peak positions."
408408
]
409409
},
410410
{
@@ -413,9 +413,7 @@
413413
"metadata": {},
414414
"outputs": [],
415415
"source": [
416-
"indexation.plot_best_matching_results_on_signal(test_data, phase_names,\n",
417-
" vector_library, ediff, reciprocal_radius,\n",
418-
" permanent_markers=False)"
416+
"indexation.plot_best_matching_results_on_signal(test_data, template_library, permanent_markers=False)"
419417
]
420418
},
421419
{
@@ -440,7 +438,7 @@
440438
"cell_type": "markdown",
441439
"metadata": {},
442440
"source": [
443-
"Plot the match rate as a metric for mapping success"
441+
"Plot the match rate as a metric for mapping success."
444442
]
445443
},
446444
{

0 commit comments

Comments
 (0)