.. _link-post-processing: Post-processing hydro snapshots ############################### We show how Magritte can be used to post-process snapshots of hydrodynamics simulations. We consider snapshots of both `MPI-AMRVAC `_, a solver based on adaptive mesh refinement (AMR, `Xia et al. 2018 `_), and `Phantom `_ which uses smoothed-particle hydrodynamics (SPH, `Price et al. 2018 `_). .. Note:: For general examples on how to generate Magritte models from analytic or tabulated data, please refer to the :ref:`creating model examples `. First we show how to build Magritte models for these snapshots and then we demonstrate how to reduce them to smaller approximate models for fast radiative transfer (`De Ceuster et al. 2020 `_). .. toctree:: :maxdepth: 1 :caption: AMRVAC snapshots: 0_create_AMRVAC_1D.ipynb 1_create_AMRVAC_3D.ipynb 2_reduce_AMRVAC_3D.ipynb .. toctree:: :maxdepth: 1 :caption: Phantom snapshots: 3_create_Phantom_3D.ipynb 4_reduce_Phantom_3D.ipynb