

.. _sphx_glr_gallery_03_mhd_io:

MHD Model Output
================

This section contains examples demonstrating how to read PSI MAS and POT3D model output using the ``psi_io.mhd_io`` module.


.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Explore a MAS radial-magnetic-field file through the PsiData interface: inspect metadata attributes, trace the connections to psi_io._models, psi_io._mesh, and psi_io._units, and observe the lazy-loading and caching behavior.">

.. only:: html

  .. image:: /gallery/03_mhd_io/images/thumb/sphx_glr_p01_psidata_intro_thumb.png
    :alt:

  :doc:`/gallery/03_mhd_io/p01_psidata_intro`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Opening MHD Model Files with PsiData</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Demonstrate the full read and vslice API of PsiData: loading data in different unit systems, remeshing from the half-mesh to the main mesh, and slicing by physical coordinate value using Quantity.">

.. only:: html

  .. image:: /gallery/03_mhd_io/images/thumb/sphx_glr_p02_psidata_reading_thumb.png
    :alt:

  :doc:`/gallery/03_mhd_io/p02_psidata_reading`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Reading MHD Data: Units, Meshes, and Value-Space Slicing</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /gallery/03_mhd_io/p01_psidata_intro
   /gallery/03_mhd_io/p02_psidata_reading

