:orphan:
.. _sphx_glr_auto_examples:
Interaction Examples & Gallery
==============================
The following examples are meant to show you how to interact with MSNoise using
its API, thus avoiding having to dive into the folder structure.
Users should try examples while checking the :doc:`../api`. (application
programming interface) for understanding the calls to different functions.
In a nutshell, all examples start with the following Python code:
.. code:: python
from msnoise.api import db
db = connect()
This, if run in an MSNoise project folder (= a folder where you have already
run ``msnoise db init``), will provide a ``Session`` object, connected to the
database.
.. raw:: html
.. only:: html
.. figure:: /auto_examples/images/thumb/sphx_glr_plot_ref_thumb.png
:ref:`sphx_glr_auto_examples_plot_ref.py`
.. raw:: html
.. toctree::
:hidden:
/auto_examples/plot_ref
.. raw:: html
.. only:: html
.. figure:: /auto_examples/images/thumb/sphx_glr_plot_interferogram_thumb.png
:ref:`sphx_glr_auto_examples_plot_interferogram.py`
.. raw:: html
.. toctree::
:hidden:
/auto_examples/plot_interferogram
.. raw:: html
.. only :: html
.. container:: sphx-glr-footer
:class: sphx-glr-footer-gallery
.. container:: sphx-glr-download
:download:`Download all examples in Python source code: auto_examples_python.zip `
.. container:: sphx-glr-download
:download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_