Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Initializing Disease Compartments"

(External Data Source Disease Initializer)
Line 15: Line 15:
 
[[Image:StemCreateInitializer.png|500px]]
 
[[Image:StemCreateInitializer.png|500px]]
  
Since initializers also work for diseases with multiple populations, the population to initialize has to be selected. For the selected population the absolute number or percentage of individuals for all compartments can be specified. At last the user has to select a location for the initializer. If for example France is selected, any region in France is initialized with the chosen values. The new initializer will show up under the "Decorators" folder in the Project explorer. You can drag the population initializer right into a scenario.
+
Since initializers also work for diseases with multiple populations, the population to initialize has to be selected. For the selected population the absolute number or percentage of individuals for all compartments can be specified. At last the user has to select a location for the initializer. If for example France is selected, any region in France is initialized with the chosen values. The new initializer will show up under the "Decorators" folder in the Project explorer. You can drag the initializer right into a scenario.
  
 
[[Image:StemInitializer.png|450px]]
 
[[Image:StemInitializer.png|450px]]
Line 25: Line 25:
 
[[Image:StemCreateDataInitializer.png|350px]]
 
[[Image:StemCreateDataInitializer.png|350px]]
  
Since initializers also work for diseases with multiple populations, the population to initialize has to be selected. For the selected population the folder containing the log files for the specific disease and population has to be entered. Finally one must specify the number of the row to be used. The new initializer will show up under the "Decorators" folder in the Project explorer. You can drag the population initializer right into a scenario.  
+
Since initializers also work for diseases with multiple populations, the population to initialize has to be selected. For the selected population the folder containing the log files for the specific disease and population has to be entered. Finally one must specify the number of the row to be used. The new initializer will show up under the "Decorators" folder in the Project explorer. You can drag the initializer right into a scenario.  
  
 
[[Image:StemDataInitializer.png|450px]]
 
[[Image:StemDataInitializer.png|450px]]

Revision as of 09:55, 9 March 2012

When a certain disease model should be used in scenario, the initial conditions for the isease have to be specified. The following components in STEM enable the user to do so. The Disease Initializer component provides the combined functionality of the Infector and Inoculator components. For initialization from an external file the External Data Source Disease Initializer must be used.

Infector

In Creating a STEM Scenario it is shown how infectors are used.

Inoculator

There is currently no documentation about inoculators.

Disease Initializer

To create an initializer for a specific disease, the user has to right click on the disease and select "Create new Initializer".

StemCreateInitializer.png

Since initializers also work for diseases with multiple populations, the population to initialize has to be selected. For the selected population the absolute number or percentage of individuals for all compartments can be specified. At last the user has to select a location for the initializer. If for example France is selected, any region in France is initialized with the chosen values. The new initializer will show up under the "Decorators" folder in the Project explorer. You can drag the initializer right into a scenario.

StemInitializer.png

External Data Source Disease Initializer

To create an initializer for a specific disease, the user has to right click on the disease and select "Create new External Data Initializer".

StemCreateDataInitializer.png

Since initializers also work for diseases with multiple populations, the population to initialize has to be selected. For the selected population the folder containing the log files for the specific disease and population has to be entered. Finally one must specify the number of the row to be used. The new initializer will show up under the "Decorators" folder in the Project explorer. You can drag the initializer right into a scenario.

StemDataInitializer.png

Copyright © Eclipse Foundation, Inc. All Rights Reserved.