Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Jewell
covid19uk
Commits
9480a628
Unverified
Commit
9480a628
authored
Mar 20, 2020
by
Chris Jewell
Committed by
GitHub
Mar 20, 2020
Browse files
Delete scratch_covid.py
parent
52deade0
Changes
1
Hide whitespace changes
Inline
Side-by-side
scratch_covid.py
deleted
100644 → 0
View file @
52deade0
import
numpy
as
np
from
covid.rdata
import
*
from
covid.model
import
CovidUKODE
K
=
load_age_mixing
(
'data/polymod_normal_df.rds'
).
to_numpy
(
dtype
=
np
.
float32
)
T
=
load_mobility_matrix
(
'data/movement.rds'
).
to_numpy
(
dtype
=
np
.
float32
)
np
.
fill_diagonal
(
T
,
0.
)
N
=
load_population
(
'data/pop.rds'
)[
'n'
].
to_numpy
(
dtype
=
np
.
float32
)
model
=
CovidUKODE
(
K
,
T
,
N
,
T
.
shape
[
0
])
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment