The Y deme had a size of 3518 until 635.382 generations ago. From 635.382 generations to time 541.6, its size increased exponentially to 8625 individuals. After that, until 308.0, the population had a linear decrease to 2407 individuals. It then reduced from 2407 to 1158, starting 308.0 generations ago, until current times, at a exponential rate.
time_units: generations
demes:
  - name: Y
    start_time: .inf
    epochs:
      - start_size: 3518
        end_time: 635.382
      - start_size: 3518
        end_size: 8625
        end_time: 541.6
        size_function: exponential
      - start_size: 8625
        end_time: 308.0
        end_size: 2407
        size_function: linear
      - end_time: 0
        start_size: 2407
        end_size: 1158
        size_function: exponential