Until 4151.5 generations ago, the T deme's population was fixed at 2017. From 4151.5 to 1672.0157, it underwent a linear change to 2282 individuals. Then, a exponential increase brought the count to 5412 by 1280.351. Since then, from 1280.351 generations to the current day, the population has changed from 5412 to 1452 at a linear rate.
time_units: generations
demes:
  - name: T
    start_time: .inf
    epochs:
      - start_size: 2017
        end_time: 4151.5
      - start_size: 2017
        end_size: 2282
        end_time: 1672.0157
        size_function: linear
      - start_size: 2282
        end_time: 1280.351
        end_size: 5412
        size_function: exponential
      - end_time: 0
        start_size: 5412
        end_size: 1452
        size_function: linear