.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/01_call_theis.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_01_call_theis.py: The Theis solution ================== In the following the well known Theis function is called an plotted for three different time-steps. Reference: `Theis 1935 `__ .. GENERATED FROM PYTHON SOURCE LINES 10-27 .. image-sg:: /examples/images/sphx_glr_01_call_theis_001.png :alt: 01 call theis :srcset: /examples/images/sphx_glr_01_call_theis_001.png :class: sphx-glr-single-img .. code-block:: Python import numpy as np from matplotlib import pyplot as plt from anaflow import theis time = [10, 100, 1000] rad = np.geomspace(0.1, 10) head = theis(time=time, rad=rad, storage=1e-4, transmissivity=1e-4, rate=-1e-4) for i, step in enumerate(time): plt.plot(rad, head[i], label="Theis(t={})".format(step)) plt.legend() plt.tight_layout() plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.189 seconds) .. _sphx_glr_download_examples_01_call_theis.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: 01_call_theis.ipynb <01_call_theis.ipynb>` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: 01_call_theis.py <01_call_theis.py>` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: 01_call_theis.zip <01_call_theis.zip>` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_