Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CEM electrodes: Example using Python and complex forward modeling #359

Draft
wants to merge 30 commits into
base: dev
Choose a base branch
from

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    4b259cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fb2f75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    314490e View commit details
    Browse the repository at this point in the history
  4. vector.h: add TmpToImagHACK

    m-weigand committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    50c1acd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7456d89 View commit details
    Browse the repository at this point in the history
  6. Work on enabling the CEM model for complex models (contact impedances

    are still real!).
    * assembleCompleteElectrodeModel_ is more or less copied from its
      real-values counterpart, with a few required type changes
    * potentialsCEM_ is resized to hold the imaginary parts in calculateK_
    * imaginary parts are then stored in potentialsCEM using the "new"
      inline function TmpToImagHACK
    * Warning: This commit still contains debug output
    m-weigand committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    bbf1228 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. createCube:

    	* cast 'start' and 'end' parameters to a numpy array to allow
    	  for array-based operations
    	* Slightly rework the docstring
    m-weigand committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    efc7449 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Configuration menu
    Copy the full SHA
    8e38d92 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. Configuration menu
    Copy the full SHA
    9e6a71e View commit details
    Browse the repository at this point in the history
  2. Fix sparsematrix.h

    m-weigand committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    2075ee3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5529adf View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. pygimli.physics.ert.simulate: make sure to compute geometric factors in

    real-valued mode even if a complex modeling is requested
    m-weigand committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    20e2f6d View commit details
    Browse the repository at this point in the history
  2. remove debug output

    m-weigand committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    fae5b54 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. remove debug output

    m-weigand committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    18dd214 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a177da8 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. [bert forward modeling] rework handling of contact impedances and

    contact resistances for CEM electrodes:
    	* add the setter function setContactResistances so we can
    	  directly set electrode contact resistances from the Python
    	  side
    	* adding this function required slight changes in the internal
    	  handling logic. Previously the code needed only to look for
    	  contact impedances registered using the setter function, and thus it
    	  was easier to decide which resistance type to actually use
              (contact impedances and contact resistances can be converted to each
              other if the electrode surface area is known). Now we solve this by an
              explicit parameter `use_cimp` which decides if the provided impedance
              (=true) or resistance (=false) vectors shall be used further.
    	* setter functions are overwritten by input from files
    	  contactImpedance.map and contactResistance.map.
    	* resistance input always overwrites impedance input
    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    1f34c04 View commit details
    Browse the repository at this point in the history
  2. [pygimli.physics.ert.ert.simulate] add contactImpedances and contactR…

    …esistances parameters that can be used to set CEM contact impedances and contact resistances
    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    d1c7d29 View commit details
    Browse the repository at this point in the history
  3. assembleCompleteElectrodeModel_ (real-valued): remove unnecessary

    if-statement and make output more consistent
    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    961b48a View commit details
    Browse the repository at this point in the history
  4. remove debug output

    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    4d50e09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8ef564d View commit details
    Browse the repository at this point in the history
  6. assembleCompleteElectrodeModel_ (complex version): align handling of

    contact impedances and resistances with the real-valued version of this
    function
    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    0eca0ca View commit details
    Browse the repository at this point in the history
  7. remove debug output

    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    a3b7bc0 View commit details
    Browse the repository at this point in the history
  8. DataContainer: extend getter and setter functions to allow for getting

    and setting of multiple columns:
    
    	data = pg.DataContainer()
    	data[['a', 'b']] = [[1, 2, 3], [4, 5, 6]]
    	print(data[['a', 'b']])
    
    Also add a few tests for this new functionality
    m-weigand committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    daa64f2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6b2e2ec View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8294236 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Configuration menu
    Copy the full SHA
    8f306ad View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    9c598a7 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Configuration menu
    Copy the full SHA
    c7b0567 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Add initial example drafts for real-valued and complex-valued CEM

    modeling using Pygimli
    m-weigand committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    2c95c79 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    44de543 View commit details
    Browse the repository at this point in the history