The deme of W kept its population at 9010 until 9497.294 generations ago, when a exponential change ensued until 3831.6, to size 8987. Subsequently, a linear change changed the numbers to 2475 individuals by 1224.9. Starting from 1224.9, the population has seen a change from 2475 to 9145 at a exponential pace, continuing to this day.
time_units: generations
demes:
  - name: W
    start_time: .inf
    epochs:
      - start_size: 9010
        end_time: 9497.294
      - start_size: 9010
        end_size: 8987
        end_time: 3831.6
        size_function: exponential
      - start_size: 8987
        end_time: 1224.9
        end_size: 2475
        size_function: linear
      - end_time: 0
        start_size: 2475
        end_size: 9145
        size_function: exponential