:orphan: ======== Examples ======== This page contains short examples of common tasks using kikuchipy. It is broken up into sections covering specific topics. For longer in-depth guides, see our :doc:`/tutorials/index`. For descriptions of all the functions, modules, and objects in kikuchipy, see the :doc:`/reference/index`. .. note:: Making examples is a work in progress. The topics and examples, and thus the URLs to examples, might change between releases. The :doc:`/tutorials/index` represent a complete showcase of the existing functionality in kikuchipy. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
Pattern processing ================== These examples cover processing of pattern intensities like binning and background subtraction. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/pattern_processing/images/thumb/sphx_glr_static_background_correction_thumb.png :alt: :doc:`/examples/pattern_processing/static_background_correction` .. raw:: html
Static background correction
.. raw:: html
.. only:: html .. image:: /examples/pattern_processing/images/thumb/sphx_glr_dynamic_background_correction_thumb.png :alt: :doc:`/examples/pattern_processing/dynamic_background_correction` .. raw:: html
Dynamic background correction
.. raw:: html
.. only:: html .. image:: /examples/pattern_processing/images/thumb/sphx_glr_pattern_binning_thumb.png :alt: :doc:`/examples/pattern_processing/pattern_binning` .. raw:: html
Pattern binning
.. raw:: html
.. only:: html .. image:: /examples/pattern_processing/images/thumb/sphx_glr_neighbour_pattern_averaging_thumb.png :alt: :doc:`/examples/pattern_processing/neighbour_pattern_averaging` .. raw:: html
Neighbour pattern averaging
.. raw:: html
.. only:: html .. image:: /examples/pattern_processing/images/thumb/sphx_glr_adaptive_histogram_equalization_thumb.png :alt: :doc:`/examples/pattern_processing/adaptive_histogram_equalization` .. raw:: html
Adaptive histogram equalization
.. thumbnail-parent-div-close .. raw:: html
Reference frames ================ These examples cover use of tools like the :class:`~kikuchipy.detectors.EBSDDetector` for understanding reference frames relevant to EBSD. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_plot_distribution_of_projection_centers_thumb.png :alt: :doc:`/examples/reference_frames/plot_distribution_of_projection_centers` .. raw:: html
Plot distribution of projection centers
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_plot_projection_center_on_detector_thumb.png :alt: :doc:`/examples/reference_frames/plot_projection_center_on_detector` .. raw:: html
Plot projection center on the detector
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_crop_detector_thumb.png :alt: :doc:`/examples/reference_frames/crop_detector` .. raw:: html
Crop an EBSD detector
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_convert_between_detector_coordinates_thumb.png :alt: :doc:`/examples/reference_frames/convert_between_detector_coordinates` .. raw:: html
Convert between detector coordinate formats
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_interactive_ebsd_detector_plotter_thumb.png :alt: :doc:`/examples/reference_frames/interactive_ebsd_detector_plotter` .. raw:: html
Interactive EBSD detector plotter
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_rotate_vectors_from_sample_to_detector_thumb.png :alt: :doc:`/examples/reference_frames/rotate_vectors_from_sample_to_detector` .. raw:: html
Rotate vectors from sample to detector reference frame
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_fit_plane_to_selected_pc_thumb.png :alt: :doc:`/examples/reference_frames/fit_plane_to_selected_pc` .. raw:: html
Fit a plane to selected projection centers
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_estimate_tilt_about_detector_xaxis_thumb.png :alt: :doc:`/examples/reference_frames/estimate_tilt_about_detector_xaxis` .. raw:: html
Estimate tilt about the detector x axis
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_estimate_tilts_about_detector_xaxis_zaxis_thumb.png :alt: :doc:`/examples/reference_frames/estimate_tilts_about_detector_xaxis_zaxis` .. raw:: html
Estimate tilts about the detector x and z axis
.. raw:: html
.. only:: html .. image:: /examples/reference_frames/images/thumb/sphx_glr_plot_detector_sample_views_thumb.png :alt: :doc:`/examples/reference_frames/plot_detector_sample_views` .. raw:: html
Detector-sample geometry views
.. thumbnail-parent-div-close .. raw:: html
Selecting data ============== These examples cover selection of data via extraction a subset of the navigation and/or signal axes. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/selecting_data/images/thumb/sphx_glr_crop_navigation_axes_thumb.png :alt: :doc:`/examples/selecting_data/crop_navigation_axes` .. raw:: html
Crop navigation axes
.. raw:: html
.. only:: html .. image:: /examples/selecting_data/images/thumb/sphx_glr_crop_signal_axes_thumb.png :alt: :doc:`/examples/selecting_data/crop_signal_axes` .. raw:: html
Crop signal axes
.. raw:: html
.. only:: html .. image:: /examples/selecting_data/images/thumb/sphx_glr_extract_patterns_from_grid_thumb.png :alt: :doc:`/examples/selecting_data/extract_patterns_from_grid` .. raw:: html
Extract patterns from a grid
.. thumbnail-parent-div-close .. raw:: html
Visualization ============= These examples cover visualization of Kikuchi patterns and derived maps. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/visualization/images/thumb/sphx_glr_plot_nice_master_pattern_image_thumb.png :alt: :doc:`/examples/visualization/plot_nice_master_pattern_image` .. raw:: html
Plot nice master pattern image
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /examples/pattern_processing/index.rst /examples/reference_frames/index.rst /examples/selecting_data/index.rst /examples/visualization/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_