The Y deme had a size of 6818 until 3320.966 generations ago. From 3320.966 generations to time 2464.42, its size changed exponentially to 3016 individuals. After that, until 2328.9, the population had a linear growth to 3442 individuals. It then changed from 3442 to 861, starting 2328.9 generations ago, until current times, at a linear rate.
time_units: generations
demes:
  - name: Y
    start_time: .inf
    epochs:
      - start_size: 6818
        end_time: 3320.966
      - start_size: 6818
        end_size: 3016
        end_time: 2464.42
        size_function: exponential
      - start_size: 3016
        end_time: 2328.9
        end_size: 3442
        size_function: linear
      - end_time: 0
        start_size: 3442
        end_size: 861
        size_function: linear