Modelling biological systems Flashcards

1
Q

What does fraction = np.zeros(num_obs) do?

A

This line preallocates a piece of memory we can use later.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Wat is the formula for MSD, mean square displacement?

A

MSD= 4Dt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the formula for the jump rate?

A

jump rate = 4D/h^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does v.range= np.linspace(0,0.5,50) do?

A

It creates an array that is 50 values long between 0 and 0.5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When is something a name error?

A

if the name of a variable or formula is misspelled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When is something a type error?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When is something a syntax error?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you convert fraction = np.zeros(num_obs) into a fraction?

A

for i in range(num_obs):
fraction[i] = boys[i] / total_boys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you calculate a nullcline?

A

By equating the rate of change for the variable of choice to 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is bifurcation?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is hysteresis?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why do you need to use a small enough time step in a model?

A

To make the chance that both events happen to the same individual in the same timestep negligible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly