Skip to content

Commit

Permalink
Merge pull request #44 from pyxem/fixing-02
Browse files Browse the repository at this point in the history
Fixing Demo 02
  • Loading branch information
dnjohnstone authored May 16, 2020
2 parents 3802b44 + d771d3f commit 952dc62
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions 02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@
"metadata": {},
"outputs": [],
"source": [
"peaks.filter_magnitude(min_magnitude=5 * diffraction_calibration,\n",
"peaks = peaks.filter_magnitude(min_magnitude=5 * diffraction_calibration,\n",
" max_magnitude=reciprocal_radius)"
]
},
Expand All @@ -772,7 +772,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"`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."
"`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"
]
},
{
Expand All @@ -781,6 +781,7 @@
"metadata": {},
"outputs": [],
"source": [
"peaks = peaks.inav[:2,:2]\n",
"peaks.calculate_cartesian_coordinates(accelerating_voltage=accelarating_voltage,\n",
" camera_length=camera_length)"
]
Expand Down Expand Up @@ -905,7 +906,7 @@
"metadata": {},
"outputs": [],
"source": [
"refined_results.inav[0:20, 10:30].plot_best_matching_results_on_signal(dp.inav[0:20, 10:30])"
"refined_results.plot_best_matching_results_on_signal(dp.inav[:2,:2])"
]
},
{
Expand Down Expand Up @@ -948,7 +949,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 952dc62

Please sign in to comment.