emodpy_malaria.interventions.mosquitorelease module

emodpy_malaria.interventions.mosquitorelease.MosquitoRelease(campaign, start_day: int = 0, released_number: int = None, released_fraction: float = None, released_infectious: float = 0, released_species: str = 'arabiensis', released_genome: list = None, node_ids: list = None)

Release mosquitoes of a given species and genome into each node.

Parameters
  • campaign

  • start_day – The day to release the vectors.

  • released_number – The number of vectors to release, sets Released_Type = “FIXED_NUMBER”

  • released_fraction – The fraction of the current population of mosquitoes to release. The ‘population’ will depend on the gender of the mosquitoes being released and it will be the population from the previous time step. Sets Released_Type = “FRACTION”

  • released_infectious – The fraction of vectors released that are to be infectious. One can only use this feature when ‘Malaria_Model’!=’MALARIA_MECHANISTIC_MODEL_WITH_PARASITE_GENETICS’

  • released_species – The case sensitive name of the species of vectors to be released.

  • released_genome – This defines the alleles of the genome of the vectors to be released. It must define all of the alleles including the gender ‘gene’. ‘*’ is not allowed.

  • node_ids – The list of node IDs to receive a release of vectors. The same number of vectors will be released to each node.

Returns: Formatted intervention

emodpy_malaria.interventions.mosquitorelease.new_intervention_as_file(camp, start_day: int = 1, filename: str = None)
Parameters
  • camp

  • start_day – The day to release the vectors.

  • filename – name of campaign filename to be created

Returns

returns filename