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. Analysis & Postprocessing
  4. How to plot Current density at the surface of the spinal cord and roots after running a Electro Ohmic Quasi-stat simulation.

How to plot Current density at the surface of the spinal cord and roots after running a Electro Ohmic Quasi-stat simulation.

Scheduled Pinned Locked Moved Analysis & Postprocessing
2 Posts 2 Posters 138 Views 2 Watching
  • 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.
  • S Offline
    S Offline
    Seifeldin_E
    wrote last edited by
    #1

    I am trying to run scTS using Sim4Life science version, but I do not know how to calculate the current and how to plot the current density at the surface of the spinal cord and roots, as shown in this figure from "Novel Noninvasive Spinal Neuromodulation Strategy Facilitates Recovery of Stepping after Motor Complete Paraplegia.".

    df85ce32-a1a7-46b3-bd91-2dc7944af7ca-image.png

    1 Reply Last reply
    1
    • brynB Offline
      brynB Offline
      bryn
      ZMT
      wrote last edited by bryn
      #2

      Hi @Seifeldin_E

      I assume you’re referring to the second row, where the field is shown on the surface of the spinal cord and peripheral nerves.

      Here’s the simplest way to achieve this:

      • In the Field Sensor, select Current Density.
      • Add a Masking Filter:
      • Set selection to None (deselect everything).
      • Type Nerve in the search filter and activate all nerve structures.
      • Search for the spinal cord and activate it as well.
      • Add a Surface Viewer — this will extract the surface at the masked regions.

      How it works:

      • The masking filter replaces all unselected field values with NaN (not-a-number).
      • The surface viewer detects NaN values and extracts the surface surrounding the masked voxels.

      Alternative method (less robust):

      • Drag a TriangleMesh entity (e.g., Spinal_cord) to the Analysis tab.
      • Select Current Density and the spinal cord mesh (now in Analysis, apply the Model to Grid filter).
      • Add the Interpolation filter.
      • Add a Surface Viewer

      Be aware: if the field changes abruptly near the surface, this method may interpolate the field on the "wrong" side of the surface. That’s why the masking approach is usually more reliable and easier to use.

      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