laser.measles.mixing.radiation
laser.measles.mixing.radiation
laser.measles.mixing.radiation.RadiationMixing(scenario=None, params=None)
Bases: BaseMixing
Radiation migration model where outbound migration flux from origin to destination is enhanced by destination population and absorbed by the density of nearer destinations.
Formula
.. math:: M_{i,j} = k \frac{p_i p_j}{\left(p_i + \sum_{k \in \Omega(i,j)} p_k\right)\left(p_i + p_j + \sum_{k \in \Omega(i,j)} p_k\right)}
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_home
|
bool
|
Whether to include home in the migration matrix |
required |
k
|
float
|
Scale parameter (avg trip probability) |
required |
laser.measles.mixing.radiation.RadiationParams
Bases: BaseModel
Parameters for the radiation migration model.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
include_home
|
bool
|
Whether to include home in the migration matrix |
required |
k
|
float
|
Scale parameter (avg trip probability) |
required |