The deme of D kept its population at 4119 until 7020.399 generations ago, when a linear change ensued until 6517.24, to size 5381. Subsequently, a exponential change changed the numbers to 5799 individuals by 5056.77. Starting from 5056.77, the population has seen a decrease from 5799 to 281 at a linear pace, continuing to this day.
time_units: generations
demes:
  - name: D
    start_time: .inf
    epochs:
      - start_size: 4119
        end_time: 7020.399
      - start_size: 4119
        end_size: 5381
        end_time: 6517.24
        size_function: linear
      - start_size: 5381
        end_time: 5056.77
        end_size: 5799
        size_function: exponential
      - end_time: 0
        start_size: 5799
        end_size: 281
        size_function: linear