diff --git a/02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb b/02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb index 62b924a..b6c6591 100644 --- a/02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb +++ b/02 GaAs Nanowire - Phase Mapping - Orientation Mapping.ipynb @@ -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)" ] }, @@ -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" ] }, { @@ -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)" ] @@ -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])" ] }, { @@ -948,7 +949,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.8.2" } }, "nbformat": 4,