For the P deme, the population size remained at 8318 until 7788.0 generations ago, at which point a exponential reduction took place until 3545.5257 generations for size 1304. Afterward, the population saw an exponential increase to 4114 by 95.562. From 95.562 generations ago to today, there's been a linear change from 4114 to 787.
time_units: generations
demes:
  - name: P
    start_time: .inf
    epochs:
      - start_size: 8318
        end_time: 7788.0
      - start_size: 8318
        end_size: 1304
        end_time: 3545.5257
        size_function: exponential
      - start_size: 1304
        end_time: 95.562
        end_size: 4114
        size_function: exponential
      - end_time: 0
        start_size: 4114
        end_size: 787
        size_function: linear