The Q deme had a size of 4666 until 8501.755 generations ago. From 8501.755 generations to time 5971.22, its size increased linearly to 7060 individuals. After that, until 5784.84, the population had a linear change to 263 individuals. It then changed from 263 to 7720, starting 5784.84 generations ago, until current times, at a exponential rate.
time_units: generations
demes:
  - name: Q
    start_time: .inf
    epochs:
      - start_size: 4666
        end_time: 8501.755
      - start_size: 4666
        end_size: 7060
        end_time: 5971.22
        size_function: linear
      - start_size: 7060
        end_time: 5784.84
        end_size: 263
        size_function: linear
      - end_time: 0
        start_size: 263
        end_size: 7720
        size_function: exponential