Specifying demographic models is always a bit of a pain in tracts. It would be easier is we could specify demographic models using the demes specification. For this, we will need:
-To port tracts.py to python 3
-To add a function translating a yaml file to a migration matrix. (this could be done in tracts or in demes)
-Find a way to parameterize models in the yaml file (i.e., we want to build a function that takes in parameters and a yaml model and outputs a migration matrix. I think the we can draw inspiration from the demes support in moments.
Specifying demographic models is always a bit of a pain in tracts. It would be easier is we could specify demographic models using the demes specification. For this, we will need: -To port tracts.py to python 3 -To add a function translating a yaml file to a migration matrix. (this could be done in tracts or in demes) -Find a way to parameterize models in the yaml file (i.e., we want to build a function that takes in parameters and a yaml model and outputs a migration matrix. I think the we can draw inspiration from the demes support in moments.