.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "_examples/07_tdip/plot_syscal_ip_2.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_07_tdip_plot_syscal_ip_2.py: Another three data sets ======================= Data sets from: Decay curve analysis for data error quantification in time-domain induced polarization imaging Adrian Flores Orozco, Jakob Gallistl, Matthias Bücker, and Kenneth H. Williams GEOPHYSICS 2018 83:2, E75-E86 https://doi.org/10.1190/geo2016-0714.1 .. GENERATED FROM PYTHON SOURCE LINES 16-18 .. code-block:: Python import reda .. GENERATED FROM PYTHON SOURCE LINES 19-20 normal loading of tdip data .. GENERATED FROM PYTHON SOURCE LINES 20-29 .. code-block:: Python ip = reda.TDIP() # with profiler(): ip.import_syscal_bin('data_syscal_ip_2/l1sk0n_1.bin') print(ip.data[['a', 'b', 'm', 'n', 'id', 'norrec']]) # import IPython # IPython.embed() # exit() .. rst-class:: sphx-glr-script-out .. code-block:: none a b m n id norrec 0 1 2 3 4 0 nor 1 1 2 4 5 1 nor 2 1 2 5 6 2 nor 3 1 2 6 7 3 nor 4 1 2 7 8 4 nor .. .. .. .. .. ... ... 560 59 60 62 63 560 nor 561 59 60 63 64 561 nor 562 60 61 62 63 562 nor 563 60 61 63 64 563 nor 564 61 62 63 64 564 nor [565 rows x 6 columns] .. GENERATED FROM PYTHON SOURCE LINES 31-38 .. code-block:: Python import reda.utils.geometric_factors as geomK K = geomK.compute_K_analytical(ip.data, spacing=2) geomK.apply_K(ip.data, K) import reda.utils.fix_sign_with_K as fixK ip.data = fixK.fix_sign_with_K(ip.data) .. GENERATED FROM PYTHON SOURCE LINES 39-41 you can also specify only one index this will only return a figure object, but will not save to file: .. GENERATED FROM PYTHON SOURCE LINES 41-43 .. code-block:: Python ip.plot_decay_curve( filename='decay_curve.png', index_nor=0, return_fig=True) .. image-sg:: /_examples/07_tdip/images/sphx_glr_plot_syscal_ip_2_001.png :alt: normed on current :srcset: /_examples/07_tdip/images/sphx_glr_plot_syscal_ip_2_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none
.. _sphx_glr_download__examples_07_tdip_plot_syscal_ip_2.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_syscal_ip_2.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_syscal_ip_2.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_