Set up a part of the xds
object that defines the interface for egg laying
Details
This implements a model for egg laying described by Wu SL, et al., (2023).
Modular computation in ramp.xds
requires a rigid interface
to guarantee mathematical consistency for egg laying and emergence.
The interface is defined by an object called EGGpar
that is
attached to the xds
object pars
as pars$EGGpar
.
The interface includes
a habitat membership matrix, \(\cal N\) made by create_habitat_matrix
the habitat search weights
a quantity that is motivated by mosquito searching for resources, called habitat availability \(Q\) made by compute_Q;
the availability of ovitraps
the availability of unsuitable habitats
the availability of anything that is like a habitat, but that is an aquatic habitat in the model, including ovitraps and unsuitable habitats, \(Q_{tot}\) made by compute_Qtot;
the egg distribution matrix \(\cal U\), made by compute_calU
a vector that stores eggs laid
This function is called by make_xds_template
to set up EGGpar
and the variables and parameters with all
the variables it might depend on.
References
Wu SL, Henry JM, Citron DT, Ssebuliba DM, Nsumba JN, C HMS, Brady OJ, Guerra CA, García GA, Carter AR, Ferguson HM, Afolabi BE, Hay SI, Jr RCR, Kiware S, Smith DL (2023). “Spatial dynamics of malaria transmission.” PLoS Computational Biology, 19(6), e1010684. doi:10.1371/journal.pcbi.1010684 , 2023-06-27.
See also
For a discussion of habitat availability, see compute_Q()
The habitat membership matrix is created by create_habitat_matrix()