For the P deme, the population size remained at 2696 until 7982.69 generations ago, at which point a linear change took place until 2633.5304 generations for size 4288. Afterward, the population saw an linear change to 7220 by 307.7. From 307.7 generations ago to today, there's been a exponential decrease from 7220 to 6980.
time_units: generations
demes:
  - name: P
    start_time: .inf
    epochs:
      - start_size: 2696
        end_time: 7982.69
      - start_size: 2696
        end_size: 4288
        end_time: 2633.5304
        size_function: linear
      - start_size: 4288
        end_time: 307.7
        end_size: 7220
        size_function: linear
      - end_time: 0
        start_size: 7220
        end_size: 6980
        size_function: exponential