.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "_examples/04_configurations/plot_configurations.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_04_configurations_plot_configurations.py: Various ways to create measurement configurations ================================================= .. GENERATED FROM PYTHON SOURCE LINES 7-18 .. code-block:: Python from reda import ConfigManager configs = ConfigManager(nr_of_electrodes=32) configs.gen_gradient(skip=10, step=8, vskip=5) configs.gen_dipole_dipole(skipc=1) configs.gen_gradient() configs.gen_schlumberger(15, 16) print(configs.configs) .. rst-class:: sphx-glr-script-out .. code-block:: none [[ 1 12 2 8] [ 1 12 3 9] [ 1 12 4 10] ... [ 3 28 15 16] [ 2 29 15 16] [ 1 30 15 16]] .. GENERATED FROM PYTHON SOURCE LINES 19-20 export mechanisms: .. GENERATED FROM PYTHON SOURCE LINES 20-25 .. code-block:: Python import reda with reda.CreateEnterDirectory('exported_configs'): configs.to_iris_syscal('syscal_configs.txt') configs.write_configs('abmn.dat') configs.write_crmod_config('config.dat') .. _sphx_glr_download__examples_04_configurations_plot_configurations.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_configurations.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_configurations.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_