Analysis & Postprocessing

Postprocessing results

96 Topics 268 Posts
  • 0 Votes
    3 Posts
    128 Views

    Dear Arjama,

    Thanks a lot for your reply and for your very detailed example. The problem I was referring to is in the line where you add TIMAM to the mask.
    If I run:
    inputs = [TIMAM]
    field_masking_filter = analysis.core.FieldMaskingFilter(inputs=inputs)

    where TIMAM = modulation_envelope(e_field_1, e_field_2, dir_vector=None)

    I get the error:
    field_masking_filter = analysis.core.FieldMaskingFilter(inputs=[TImax])
    File "C:\Program Files\Sim4Life_8.0.0.15165\Python\lib\site-packages\s4l_v1_api\analysiswrappers.py", line 231, in init
    self.Inputs[id].Connect(input)
    File "C:\Program Files\Sim4Life_8.0.0.15165\Python\lib\site-packages\s4l_v1_api\analysiswrappers.py", line 647, in Connect
    raise Exception("Can't connect ports")
    Exception: Can't connect ports

    So I think my problem is the creation of TIMAM. I Imagine it is not the TI envelope, but rather the TI Envelope inside some data structure that can be connected to the masking filter?

    Thanks again!

  • 0 Votes
    2 Posts
    228 Views

    Hi,
    You could do it with the optimizer/scripting.
    Option (1)
    For 2 electrode pairs you can create LF multiport simulation (see LF tutorial). In the post-pro you will update the Amp/Phase of the electrodes and use the simulation combiner to extract the TI MAM.
    Once you run the simulation once, select the simulation and click on optimize. Switch to the Analysis tab to check if this pipeline is created, click on switch to Expert Mode. Now to include design variables which in your case is the position of the electrode switch to “Model” tab and click on the electrodes, in the controller select “Show Expression” and “Create Expression” . Then switch to Analysis tab and create a pipeline that will look like the following:

    Sim4Life_szrHUU8P6P.png

    Option (2)
    If you are required to do this, please let me know, I can send you an example script to create a similar pipeline.

    If you require further help with creating either of these, please email s4l-support@zmt.swiss.

    Thanks,
    Arjama

  • Normalizing to partial-body SAR

    3
    0 Votes
    3 Posts
    143 Views

    @halder Hi Arjama, thanks for your reply! I will send you an email!

  • Export E-field due to each antenna

    2
    0 Votes
    2 Posts
    218 Views

    It depends on what you mean by transmitting and receiving. If the port outputs of the antenna look like 50 ohms in both transmit and receive then the usual multiport simulation will work just fine. Then you just need to go into each port, say "port extract" then go to overall field, then extract that ports E field. This E field will be what is generated from exciting port n and "receiving" on all other antenna. Do this 8 times for all 8 ports and this should be what you want

  • Calculate Divergence of B field

    1
    0 Votes
    1 Posts
    115 Views
    No one has replied
  • [Error] Input field array is empty

    4
    0 Votes
    4 Posts
    174 Views

    Wow I can't believe I missed that. Thank you so much! The warning definitely threw me off

  • B1 rms field

    3
    0 Votes
    3 Posts
    198 Views

    Note that the above is only true in the case of a harmonic signal, which is why Sim4Life does not provide the RMS by default. It is up to the user to calculate the RMS based on their knowledge of the signal.

    If you are interested in B1+/B1-, the rotational components of B1 are by definition constant in time and so their RMS magnitudes are equal to their absolute magnitudes.

  • Remove background from psSAR surface viewer

    2
    1 Votes
    2 Posts
    132 Views

    When you used the Mask Filter, did you check the option 'Invalidate Masked Values'? This will set the Background to NaN, which should hide it. Otherwise, the Background value will be changed to a user-defined replacement value, which would still show up during visualization.

  • 1 Votes
    16 Posts
    2k Views

    @halder Thank you for your response. I want the total current of 1 mA flowing between my two electrodes. In this case, I should put the target value as (1 mA/area of the plane I have drawn between two electrodes)?
    since my plane area is 182mm*220mm, then I should select the target value to be 0.024975 A/m2. Is this the correct approach?

  • 0 Votes
    1 Posts
    114 Views
    No one has replied
  • Padding field with constant value

    1
    0 Votes
    1 Posts
    123 Views
    No one has replied
  • Import modulation file

    10
    0 Votes
    10 Posts
    508 Views

    Really sorry, I honestly don't understand - I don't know what you mean with modulation and I'm not sure what you mean with using matlab and what input file you are exactly referring to. Maybe some screenshots will help, otherwise maybe contact support

  • Export large files to matlab

    2
    0 Votes
    2 Posts
    224 Views

    Hi,
    There is a file size limit with the MATLAB exporter but it will be improved. In the mean time, you might

    use a smaller field sensor than the overall field and try to limit the size of the field of view to the volume of interest only
    or export to Cache instead of MATLAB. This is an HDF5 file. You can use multiple libraries and functions in MATLAB to import an HDF5 file. This format can handle very large data files.
  • Magnetic induction power analysis

    1
    0 Votes
    1 Posts
    148 Views
    No one has replied
  • Thermal

    1
    0 Votes
    1 Posts
    132 Views
    No one has replied
  • Time Domain

    2
    0 Votes
    2 Posts
    236 Views

    Hi,

    Currently, there is no tool in Sim4Life allowing you to extract the S-parameter in time domain. You might evaluate it via Python scripting (using already available time-domain data of voltage and current at ports or inverse Fourier Transform). Sim4Life team is informed to include this request in the development plan and will inform you in the future once it is implemented.

  • 0 Votes
    2 Posts
    224 Views

    I've solved the issue. The sweep works if I set the source for the QS solver to a coil (wire current settings) instead of linking in that data from the SV solver (vector potential settings).

  • 0 Votes
    2 Posts
    332 Views

    Hi Vasilis,

    The Hyperthermia Optimizer and Template are licensed products that are not part of the Sim4Life light student version.

    Best,
    Habib

  • scalar product of two vector fields

    2
    0 Votes
    2 Posts
    251 Views

    Hi Gia,

    There is no tool that computes the scalar product for the J-fields from two sensors/simulation. However, you can try to access the fields from Python and compute the product yourself.

    You can extract the J-field in the UI, and then right-click the lowers algorithm in your Analysis tree and select ToPython. This will help you with writing a script to extract certain quantities.

    Best,
    Habib

  • Question about the flux evaluation

    2
    0 Votes
    2 Posts
    212 Views

    J(x,y,z,f0) is the volume current density:

    081c7de2-7f8f-4450-8e4c-bd69ad8a8ec7-image.png

    So integrating it's flux across a surface, one gets A/m^2 m^2, which simplifies as A. The unit shown in the table viewer unfortunately does not do the simplification...