Skip to content
  • python script to run in the cloud

    Python API
    1
    0 Votes
    1 Posts
    514 Views
    No one has replied
  • 1 Votes
    30 Posts
    39k Views
    L
    @bryn Is the 6.8 displayed on the color bar the actual maximum field strength value? I exported the values and found that the maximum is around 5.9 instead. [image: 1735124755536-42fb974e-d830-42c2-8373-84c85ee63339-image.png]
  • How do we put electrodes on the skin surface?

    Analysis & Postprocessing
    16
    0 Votes
    16 Posts
    6k Views
    G
    @bryn @gc00 @halder Thank you so much, You've been very helpful !
  • 0 Votes
    1 Posts
    780 Views
    No one has replied
  • Is it possible to use Python API without opening Sim4Life?

    Python API
    4
    0 Votes
    4 Posts
    2k Views
    brynB
    You can open a smash file using import s4l_v1 as s4l s4l.document.Open(smash_file_path) You can save it using s4l.document.Save(smash_file_path) You can find a simulation using (assuming you have unique simulation names sim = [sim for sim in s4l.document.AllSimulations if sim.Name == "the name of your simulation"][0] If you want to load different models (from .sab file or .smash), but don't need to load e.g. simulations (in .smash file), you can import the file entities = s4l.model.Import(file_path) if you need to reset the document or model because you are accumulating too many entities and memory use is getting too high, you can use e.g. # reset the model sl4.model.Clear() # or keep entities, but discard model history import XCoreModeling as xcm xcm.GetActiveModel().ClearHistory() # or reset entire document (reset model, simulations, analysis) s4l.document.New()
  • Head tissue segmentation

    Anatomical Models
    1
    0 Votes
    1 Posts
    659 Views
    No one has replied
  • Brain atlas

    Anatomical Models
    1
    0 Votes
    1 Posts
    593 Views
    No one has replied
  • Location of Simulation Outputs and Voxel Coordinates?

    Python API
    1
    0 Votes
    1 Posts
    367 Views
    No one has replied
  • Export large files to matlab

    Analysis & Postprocessing
    3
    0 Votes
    3 Posts
    2k Views
    L
    @ofli Can the conductivity map after head segmentation be exported?
  • About TI Simulation

    Python API
    4
    0 Votes
    4 Posts
    1k Views
    L
    I want to see the impact of different grid sizes on the simulation, so I cloned a pair of simulations and modified the maximum step size of the grid. However, I found that if I create a new pair of simulations using the same settings, the grid sizes, simulation durations, and results of the new simulations and the cloned simulations are all different. Why does this happen?
  • Volt and sensitivity of transducer sim4lite

    Sim4Life
    2
    0 Votes
    2 Posts
    2k Views
    M
    Assuming a linear relation between voltage and pressure amplitude, you should be able to map the input voltage to the input pressure (I think its 1 MPa by default), and then use this as a scaling factor, but it's unclear to me what you mean with voltage at the focused area. What exactly do you mean by transducer sensitivity? You could run additional simulations where you shift the transducer or slightly change some parameters to get a sense of the sensitivity.
  • Simulation outputs

    Simulations & Solvers
    6
    0 Votes
    6 Posts
    2k Views
    A
    Great! Goit it, thank you so much. One last question regarding where the simulation outputs are located and saved. The coordinates of the voxelized entities where can be found? Thank you so much for your time :)
  • White matter anisotropy

    Simulations & Solvers
    8
    0 Votes
    8 Posts
    2k Views
    G
    @bryn Thanks, I found it!
  • 0 Votes
    2 Posts
    774 Views
    ofliO
    Hi @tayjiekai sim4life.lite is the student version of our online simulation platform sim4life.science and comes with certain limitations. As indicated by the error message, it does not support a number of neurons exceeding 10. If the limitations of sim4life.lite are too restrictive for your work, I suggest transitioning to the full Sim4Life web version at sim4life.science.
  • Problems when simulating antenna efficiency

    Analysis & Postprocessing
    2
    0 Votes
    2 Posts
    884 Views
    SylvainS
    Hi, you can get additional information by enabling the "Far Field" sensor and then choosing the "Radiation Report" evaluator (see for example the Phased Array Patch Antenna tutorial). It will not solve your problem, but might help you get a clearer picture. From what you describe, it's possible you have a very low mismatch efficiency (most of the energy is reflected). This could be addressed by improving the way you are modeling your source, or by just ignoring it if it is not important (i.e. if you are not actually simulating the real feed and are only interested in the antenna itself). You would do that by considering the Radiation Efficiency (ratio of Radiated Power to Accepted Power) instead.
  • IsoSurface mesh

    Analysis & Postprocessing
    3
    0 Votes
    3 Posts
    971 Views
    A
    Hello! Thank you for your quick answer :) I'll do that in the meantime
  • Sim4Life V8.2 Release

    Announcements
    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • Iso Surfaces - Creating volumes with a threshold

    Python API
    1
    0 Votes
    1 Posts
    420 Views
    No one has replied
  • EM FTDM simulation

    Simulations & Solvers
    4
    1 Votes
    4 Posts
    2k Views
    H
    Joule heating sources from various processes (e.g., EM energy deposition by ohmic losses) can be considered as inhomogeneous heat sources in thermal simulations. To create heat sources Simulation Link: Sensor settings of an EM FDTD simulation in the same project can then be dragged and dropped into Source Settings folder. Modulated Analysis/Cache: Data Origin Type can be defined as: (a) Cache File: select the path of a thermal source previously exported into a .cache file. (b) Analysis Output: select the energy density of interest directly from the Analysis. You can look into the heated brain tutorial for a simplified example.
  • Accessing specific entities of my model from the python API

    Python API
    2
    1 Votes
    2 Posts
    737 Views
    L
    found my own answer: [image: 1730811141668-a0bbc3ce-5488-4bea-8af6-95ae9439824b-image.png]