Skip to content

Commit af23acc

Browse files
committed
mean field class
1 parent 4c2425e commit af23acc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

models/mean_field.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,8 @@ def sweep_death_rate(self, d_r_values: np.ndarray, method: str = 'analytical') -
176176
print(f'Conversion efficiency: {mf.conversion}')
177177
print(f'Prey competition: {mf.prey_competition}')
178178
print(f'Predator competition: {mf.predator_competition}')
179+
180+
d_r_values = np.linspace(0.01, 0.15, 50)
181+
results = mf.sweep_death_rate(d_r_values)
182+
179183

0 commit comments

Comments
 (0)