alan-turing-institute / vivarium_population_spenser

Vivarium microsimulation tools used to model population evolution with the SPENSER project
GNU General Public License v3.0
3 stars 0 forks source link

Aggregate over 75 for emigration rates #39

Closed crangelsmith closed 4 years ago

kasra-hosseini commented 4 years ago

@crangelsmith Two more points about emigration.

1) The emigration curve is non-linear (which can be correct), but it would be good to confirm this (see notebook 5):

Screenshot 2020-07-22 at 10 26 16

2) Emigration has very high values at the first time-steps (see the absolute values in the beginning):

Screenshot 2020-07-22 at 10 28 23

To clarify, the first figure was generated by:

plt.figure(figsize=(15, 10))
plt.plot(time_axis, emig_pop_axis - emig_pop_axis[0], 
         c='k', lw=4
         #marker="o"
        )
plt.xlabel("Time", size=32)
plt.ylabel("Emigrated", size=32)
plt.xticks(size=24, rotation=90)
plt.yticks(size=24)
plt.grid()
plt.show()

and the second figure:

plt.figure(figsize=(15, 10))
plt.plot(time_axis, emig_pop_axis, 
         c='k', lw=4
         #marker="o"
        )
plt.xlabel("Time", size=32)
plt.ylabel("Emigrated", size=32)
plt.xticks(size=24, rotation=90)
plt.yticks(size=24)
plt.grid()
plt.show()