:orphan:
.. _examples:
========
Examples
========
This page contains short examples demonstrating common tasks using orix. It is broken up
into sections covering specific topics.
For longer in-depth guides, see our :doc:`/tutorials/index`. For descriptions of the
functions, modules, and objects in orix, see the :doc:`/reference/index`.
.. note::
Making examples is a work in progress. The :doc:`/tutorials/index` represent a
complete showcase of the existing functionality in orix.
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
Crystal maps
============
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/crystal_maps/images/thumb/sphx_glr_create_empty_map_thumb.png
:alt:
:ref:`sphx_glr_examples_crystal_maps_create_empty_map.py`
.. raw:: html
Create empty crystal map
.. raw:: html
.. only:: html
.. image:: /examples/crystal_maps/images/thumb/sphx_glr_select_modify_data_thumb.png
:alt:
:ref:`sphx_glr_examples_crystal_maps_select_modify_data.py`
.. raw:: html
Select and modify data
.. thumbnail-parent-div-close
.. raw:: html
Inverse pole figures
====================
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/inverse_pole_figures/images/thumb/sphx_glr_inverse_pole_density_function_thumb.png
:alt:
:ref:`sphx_glr_examples_inverse_pole_figures_inverse_pole_density_function.py`
.. raw:: html
Inverse pole density function
.. thumbnail-parent-div-close
.. raw:: html
Misorientations
===============
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/misorientations/images/thumb/sphx_glr_misorientation_from_aligning_directions_thumb.png
:alt:
:ref:`sphx_glr_examples_misorientations_misorientation_from_aligning_directions.py`
.. raw:: html
Misorientation from aligning directions
.. thumbnail-parent-div-close
.. raw:: html
Orientations
============
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/orientations/images/thumb/sphx_glr_orientation_from_aligning_directions_thumb.png
:alt:
:ref:`sphx_glr_examples_orientations_orientation_from_aligning_directions.py`
.. raw:: html
Orientation from aligning directions
.. thumbnail-parent-div-close
.. raw:: html
Plotting
========
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/plotting/images/thumb/sphx_glr_subplots_thumb.png
:alt:
:ref:`sphx_glr_examples_plotting_subplots.py`
.. raw:: html
Subplots
.. raw:: html
.. only:: html
.. image:: /examples/plotting/images/thumb/sphx_glr_interactive_xmap_thumb.png
:alt:
:ref:`sphx_glr_examples_plotting_interactive_xmap.py`
.. raw:: html
Interactive crystal map plot
.. thumbnail-parent-div-close
.. raw:: html
Rotations
=========
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/rotations/images/thumb/sphx_glr_rotating_z_to_high_symmetry_directions_thumb.png
:alt:
:ref:`sphx_glr_examples_rotations_rotating_z_to_high_symmetry_directions.py`
.. raw:: html
Rotating z-vector to high-symmetry crystal directions
.. raw:: html
.. only:: html
.. image:: /examples/rotations/images/thumb/sphx_glr_rotations_mapping_fundamental_sector_thumb.png
:alt:
:ref:`sphx_glr_examples_rotations_rotations_mapping_fundamental_sector.py`
.. raw:: html
Rotations mapping the fundamental sector on S2
.. raw:: html
.. only:: html
.. image:: /examples/rotations/images/thumb/sphx_glr_combine_rotations_thumb.png
:alt:
:ref:`sphx_glr_examples_rotations_combine_rotations.py`
.. raw:: html
Combining rotations
.. thumbnail-parent-div-close
.. raw:: html
Stereographic projection
========================
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/stereographic_projection/images/thumb/sphx_glr_wulff_net_thumb.png
:alt:
:ref:`sphx_glr_examples_stereographic_projection_wulff_net.py`
.. raw:: html
Wulff net
.. raw:: html
.. only:: html
.. image:: /examples/stereographic_projection/images/thumb/sphx_glr_plot_symmetry_operations_thumb.png
:alt:
:ref:`sphx_glr_examples_stereographic_projection_plot_symmetry_operations.py`
.. raw:: html
Plot symmetry operations
.. raw:: html
.. only:: html
.. image:: /examples/stereographic_projection/images/thumb/sphx_glr_restrict_to_fundamental_sector_thumb.png
:alt:
:ref:`sphx_glr_examples_stereographic_projection_restrict_to_fundamental_sector.py`
.. raw:: html
Restrict to fundamental sector
.. raw:: html
.. only:: html
.. image:: /examples/stereographic_projection/images/thumb/sphx_glr_zoom_inset_region_thumb.png
:alt:
:ref:`sphx_glr_examples_stereographic_projection_zoom_inset_region.py`
.. raw:: html
Zoom region inset
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/examples/crystal_maps/index.rst
/examples/inverse_pole_figures/index.rst
/examples/misorientations/index.rst
/examples/orientations/index.rst
/examples/plotting/index.rst
/examples/rotations/index.rst
/examples/stereographic_projection/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 `_