Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. Extracting a set of Voltage Value without Voltage Reader

Extracting a set of Voltage Value without Voltage Reader

Scheduled Pinned Locked Moved Python API
1 Posts 1 Posters 271 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EnricoP
    wrote on last edited by
    #1

    I am trying to write the analysis python code for my EM-LF simulation on a 3D arm. I have many electrodes modeled as PEC spheres on the skin of my model. I want to obtain the voltage value at each one of these electrode. To do so, on the GUI I am reading the values from the electrode bouding box
    electrode Box --> Voltage Reader --> Potential at PEC regions
    where I end up having my table from which I can read my electrode Voltage value.

    However, when I translate this to python it says that "Algorithm "Voltage Reader" was not yet exposed in the Python API.
    Unfortunately since I have to run thousands of simulations, manually read one by one the results of each simulation would be impossible.

    I wanted to ask if there is any way to bypass this temporary lack in the API. I tried to see if the export function was working as well, but it didn't since it also pass through the "Voltage Reader" part. Do you have any suggestion?

    So far, I tried to export the EM Potential data in Matlab matrix and then taking the average value of the non NaN values of the "Snapshot0" matrix that is produced.
    Is this correct? Is there a faster way?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Search