The population size of Y deme stood at 6000 until a shift at 7057.0675 generations ago, leading to a linear change up to 5191.99 generations and 2123 individuals. Following this, there was an linear change to 5093 individuals by 2557.7. Since 2557.7, the population has seen a exponential reduced from 5093 to 1951, continuing to the current time.
time_units: generations
demes:
  - name: Y
    start_time: .inf
    epochs:
      - start_size: 6000
        end_time: 7057.0675
      - start_size: 6000
        end_size: 2123
        end_time: 5191.99
        size_function: linear
      - start_size: 2123
        end_time: 2557.7
        end_size: 5093
        size_function: linear
      - end_time: 0
        start_size: 5093
        end_size: 1951
        size_function: exponential