InstituteforDiseaseModeling/covasim

Most desired way to load custom population

rlatkows opened this issue · 2 comments

I would like to load my own custom population with several layers of connections.
What would be the suggested way to do it?

Hi @rlatkows , there are a few options here. You can take a look at population.py and see how the population is constructed. For a more sophisticated solution, you can look at SynthPops, which is a very flexible package for generating synthetic populations. If you'd like to discuss this in more detail, please feel free to reach out to us at covasim@idmod.org.

Done by extending inherited classes with custom make_pop methods.