The Z deme had a size of 3093 until 9247.0 generations ago. From 9247.0 generations to time 7502.385, its size changed exponentially to 8676 individuals. After that, until 3963.0, the population had a linear reduction to 7427 individuals. It then changed from 7427 to 5763, starting 3963.0 generations ago, until current times, at a linear rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 3093
        end_time: 9247.0
      - start_size: 3093
        end_size: 8676
        end_time: 7502.385
        size_function: exponential
      - start_size: 8676
        end_time: 3963.0
        end_size: 7427
        size_function: linear
      - end_time: 0
        start_size: 7427
        end_size: 5763
        size_function: linear