popsim-consortium / demes-spec

Demes demographic model specification
https://popsim-consortium.github.io/demes-spec-docs/
MIT License
4 stars 4 forks source link

Add example of resolving sequential pulses. #156

Closed molpopgen closed 2 years ago

molpopgen commented 2 years ago

Add detailed description of pulse resolution. The content comes from posts in #100.

molpopgen commented 2 years ago

Little delay on this one: the example is bad. It has 1/3 in the YAML, but the demes-python rejects that (string not a number). I'll try to come up with an example that actually works. This specific example gets confounded w/numerical issues due to trying to write 1/3 as a number, which is actually a whole other concern I hadn't thought of.

molpopgen commented 2 years ago

@grahamgower -- I think I've addressed your comments.