The M deme had a size of 1771 until 6514.6 generations ago. From 6514.6 generations to time 6382.1888, its size increased linearly to 9772 individuals. After that, until 4697.8, the population had a linear decrease to 701 individuals. It then increased from 701 to 5970, starting 4697.8 generations ago, until current times, at a exponential rate.
time_units: generations
demes:
  - name: M
    start_time: .inf
    epochs:
      - start_size: 1771
        end_time: 6514.6
      - start_size: 1771
        end_size: 9772
        end_time: 6382.1888
        size_function: linear
      - start_size: 9772
        end_time: 4697.8
        end_size: 701
        size_function: linear
      - end_time: 0
        start_size: 701
        end_size: 5970
        size_function: exponential