For the P deme, the population size remained at 2304 until 3083.519 generations ago, at which point a linear change took place until 1034.168 generations for size 2107. Afterward, the population saw an linear change to 6924 by 50.0. From 50.0 generations ago to today, there's been a exponential change from 6924 to 7180.
time_units: generations
demes:
  - name: P
    start_time: .inf
    epochs:
      - start_size: 2304
        end_time: 3083.519
      - start_size: 2304
        end_size: 2107
        end_time: 1034.168
        size_function: linear
      - start_size: 2107
        end_time: 50.0
        end_size: 6924
        size_function: linear
      - end_time: 0
        start_size: 6924
        end_size: 7180
        size_function: exponential