Skip to content

Commit

Permalink
Added the example section in README
Browse files Browse the repository at this point in the history
Changed "onlyExtract" variable to False
  • Loading branch information
u.zanovello committed Jan 20, 2023
1 parent 5e676ce commit c3550c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,8 @@ Number of steps stored during the thermal simulations from 0 s to *th_sim_interv
* **th_snapshot** : *int* <br>
Reference snapshot (from 1 to `th_sim_step_num`) to perform the thermal assessments (*e.g.*, if it is equal to `th_sim_step_num`, the script will compute the magnetic field direction that maximise the temperature increase in the model after `th_sim_interval` seconds of exposure);
* **excluded_from_th_extr** : *list of string* <br>
A list containing the names of the entities that can be excluded by the thermal result analyses.
A list containing the names of the entities that can be excluded by the thermal result analyses.

## Example

An example is made available in the examples folder of the repository. To run the example it is sufficient to open the *.smash* file with Sim4Lfe and run the *computeWorstOrientation.py* script from the Sim4Life scripter.
2 changes: 1 addition & 1 deletion computeWorstOrientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# USER PARAMETERS

onlyExtract = True # If True the script doesn't execute simulations
onlyExtract = False # If True the script doesn't execute simulations
model_embb_name = "EM_BB_model"
excluded_from_em = ["Phantom"] # Entities to be excluded from em computations
temp_files_directory = "C:\\Simulazioni\\Zanovello\\Sim4Life\\STASIS\\WorstExposureComp\\temporary"
Expand Down

0 comments on commit c3550c6

Please sign in to comment.