Skip to content

Analysis & Postprocessing

Postprocessing results

105 Topics 302 Posts
  • 0 Votes
    2 Posts
    334 Views
    S

    Hi,
    Due to end user agreements, you cannot export phantom info in grids.
    According to one of the former entries in this forum, you may consider exporting D and E fields separately and divide them to find epsilon_complex. Similarly, exporting J- and E- fields to calculate conductivity (since J=sigma*E), may help. please be aware that this will not help for the tissue boundaries. You may cross check your computations from the it’is4.0 database loaded in Sim4Life.
    I hope this may help in your situation. Again, please make sure that you are not violating EULA by reconstructing these body models or sharing the data with third parties. Just keep your field results 🙂 not the reconstructed body models.

  • export the data into Matlab... single Tx coil and combined coils for B1

    4
    0 Votes
    4 Posts
    607 Views
    S

    Hi I am not sure if these may help.

    to decrease simulation time (60hrs), you may consider healing the smallest grid. In my simulations, I have time steps usually around 1-3 ps. Anything below 1ps (time step) makes me to revise the model. Modeling cylindrical objects in cartesian coordinates may cause some geometric discrepancies. For example, assume you have a capacitor in one element, which has an only 0.1 mm offset compared to its mirrored counterpart. This means, although you have a capacitor size of a few millimeters, the minimum mesh size would be in the order of 0.05mm! This is terrible for a simulation at 298MHz. To avoid this, I usually model my elements in python environment. Rotating/translating elements manually (without proper snap options) may cause this problem. make sure that all channels have simulation results (I assume multiport simulation) other than that, (These errors may be due to missing simulation result, though) avoid using single port simulations, since you cannot change phases and export results after running a simulation.
  • 0 Votes
    2 Posts
    733 Views
    V

    Hello,

    Sorry but I am thinking of using a time-gate for my own experiment and wondered if you managed to get it working?

    Thanks

  • Combine ports in MATCH for shared matching/tuning network

    1
    0 Votes
    1 Posts
    196 Views
    No one has replied
  • How to switch between linear/log in 2D plot?

    2
    1 Votes
    2 Posts
    240 Views
    G

    For future reference: Okay I just found out that the unit for the y-axis must be set in the "Properties" window of the plot.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Automatic Coil Tuning with the MATCH-Toolbox

    1
    0 Votes
    1 Posts
    172 Views
    No one has replied
  • Optimizer Disabled

    1
    0 Votes
    1 Posts
    163 Views
    No one has replied
  • Half Power Beam Width

    1
    0 Votes
    1 Posts
    161 Views
    No one has replied
  • 0 Votes
    5 Posts
    461 Views
    E

    So definitely max gain it is not useful for my purposes. I wanna construct a more symmetrical radiation pattern and maximize the gain in a certain direction. And of course, I would like to know which parameters I should set up to get such purposes.

  • I can't control the beam direction of circular array antenna

    1
    0 Votes
    1 Posts
    122 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Sincerely ask everyone

    1
    0 Votes
    1 Posts
    191 Views
    No one has replied
  • Sim4Life Light plot convergence level

    1
    0 Votes
    1 Posts
    188 Views
    No one has replied
  • Solve the problem that failed

    1
    0 Votes
    1 Posts
    167 Views
    No one has replied
  • The SIM4Life Light version deals with meshing during simulation

    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • Amplitude modulation greater than the combined field

    2
    0 Votes
    2 Posts
    270 Views
    L

    Update: I manually summed the fields and got an answer that makes more sense (sum is always greater than amplitude modulation). I am not sure where it is going wrong when I am using the field combiner.

  • SetUp Field Crop Filter

    2
    1 Votes
    2 Posts
    381 Views
    SylvainS

    In general, an easy way to create a postprocessing script is to first do it in the GUI and then use the "To-Python" function (available via right-click on the algorithm in the Explorer window).

    Here is what the auto-generated script looks like for a simple pipeline with a Crop Filter:

    # Creating the analysis pipeline # Adding a new SimulationExtractor simulation = document.AllSimulations["EM"] simulation_extractor = simulation.Results() # Adding a new EmSensorExtractor em_sensor_extractor = simulation_extractor["Overall Field"] em_sensor_extractor.FrequencySettings.ExtractedFrequency = u"All" em_sensor_extractor.Normalization.Normalize = True em_sensor_extractor.SurfaceCurrent.SurfaceResolution = 0.001, units.Meters document.AllAlgorithms.Add(em_sensor_extractor) # Adding a new FieldCropFilter inputs = [em_sensor_extractor.Outputs["EM E(x,y,z,f0)"]] field_crop_filter = analysis.core.FieldCropFilter(inputs=inputs) field_crop_filter.LowerExtent = numpy.array([1, 3, 2]) field_crop_filter.UpperExtent = numpy.array([21, 21, 21]) field_crop_filter.UpdateAttributes() document.AllAlgorithms.Add(field_crop_filter)

    Note fyi that you don't actually need to pass a Numpy array to UpperExtent or LowerExtent, it also works if you pass any iterable, like a list or a tuple.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • 0 Votes
    2 Posts
    633 Views
    SylvainS

    In Sim4Life, the complex field S(x,y,z,f0) is (one half of) the cross product of the complex fields E(x,y,z,f0) and H(x,y,z,f0), both of which are the complex representation of harmonic fields (actually S = 0.5 E cross H*, where H* is the complex conjugate of H)
    The time-averaged Poynting vector (if you want the power flow) is given by Re(S)

    See the Wikipedia article (https://en.wikipedia.org/wiki/Poynting_vector) for more detail.

    EDIT: this post was corrected to reflect the notations used in Sim4Life, namley that S(x,y,z,f0) is already the time-averaged quantity and includes the factor 1/2.