Up to 9876.5 generations ago, the population of the Y deme was steady at 4397. It then entered a phase of exponential growth until 8566.0 generations and size 6931. Following this, there was a exponential decrease to 2164 individuals, lasting until 5438.59. Since 5438.59 generations ago, the population has changed from 2164 to 6837 at a linear pace.
time_units: generations
demes:
  - name: Y
    start_time: .inf
    epochs:
      - start_size: 4397
        end_time: 9876.5
      - start_size: 4397
        end_size: 6931
        end_time: 8566.0
        size_function: exponential
      - start_size: 6931
        end_time: 5438.59
        end_size: 2164
        size_function: exponential
      - end_time: 0
        start_size: 2164
        end_size: 6837
        size_function: linear