Skip to content

Commit 43d2371

Browse files
committed
Fixing the peak plotting
1 parent c1be421 commit 43d2371

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@
772772
"cell_type": "markdown",
773773
"metadata": {},
774774
"source": [
775-
"`peaks` now contain the 2D positions of the diffraction spots on the detector. The vector matching method works in 3D coordinates, which are found by projecting the detector positions back onto the Ewald sphere."
775+
"`peaks` now contain the 2D positions of the diffraction spots on the detector. The vector matching method works in 3D coordinates, which are found by projecting the detector positions back onto the Ewald sphere. Because the methods that follow our slow, we constrain ourselves to looking at a smaller subset of the data"
776776
]
777777
},
778778
{
@@ -781,6 +781,7 @@
781781
"metadata": {},
782782
"outputs": [],
783783
"source": [
784+
"peaks = peaks.inav[:2,:2]\n",
784785
"peaks.calculate_cartesian_coordinates(accelerating_voltage=accelarating_voltage,\n",
785786
" camera_length=camera_length)"
786787
]
@@ -905,7 +906,7 @@
905906
"metadata": {},
906907
"outputs": [],
907908
"source": [
908-
"refined_results.inav[0:20, 10:30].plot_best_matching_results_on_signal(dp.inav[0:20, 10:30])"
909+
"refined_results.plot_best_matching_results_on_signal(dp.inav[:2,:2])"
909910
]
910911
},
911912
{

GaAs_cubic_hex.pickle

7.51 MB
Binary file not shown.

0 commit comments

Comments
 (0)