Initially, the Z deme maintained a population of 357 until 5888.0 generations ago. From 5888.0 to 2619.4, its size changed linearly to population size 6476. A exponential growth ensued, culminating in 9768 individuals by 2337.8. Starting from 2337.8 generations ago, the population has changed from 9768 to 6046, at a linear rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 357
        end_time: 5888.0
      - start_size: 357
        end_size: 6476
        end_time: 2619.4
        size_function: linear
      - start_size: 6476
        end_time: 2337.8
        end_size: 9768
        size_function: exponential
      - end_time: 0
        start_size: 9768
        end_size: 6046
        size_function: linear