Modelling biological systems Flashcards
What does fraction = np.zeros(num_obs) do?
This line preallocates a piece of memory we can use later.
Wat is the formula for MSD, mean square displacement?
MSD= 4Dt
What is the formula for the jump rate?
jump rate = 4D/h^2
What does v.range= np.linspace(0,0.5,50) do?
It creates an array that is 50 values long between 0 and 0.5
When is something a name error?
if the name of a variable or formula is misspelled
When is something a type error?
When is something a syntax error?
How do you convert fraction = np.zeros(num_obs) into a fraction?
for i in range(num_obs):
fraction[i] = boys[i] / total_boys
How do you calculate a nullcline?
By equating the rate of change for the variable of choice to 0
What is bifurcation?
What is hysteresis?
Why do you need to use a small enough time step in a model?
To make the chance that both events happen to the same individual in the same timestep negligible