Skip to content

Commit

Permalink
[readme] clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccBarker committed Jun 28, 2024
1 parent d5f97f7 commit 1384fdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ covid19.print(False)
- Prob. Recovery : 0.1400
- Prob. Transmission : 0.1000

<epiworldpy._core.ModelSEIRCONN at 0x10b1c85f0>
<epiworldpy._core.ModelSEIRCONN at 0x1058e6e70>

Let’s run it and to see what we get:

Expand All @@ -99,8 +99,8 @@ covid19.print(False)
Number of entities : 0
Days (duration) : 100 (of 100)
Number of viruses : 1
Last run elapsed t : 13.00ms
Last run speed : 74.44 million agents x day / second
Last run elapsed t : 14.00ms
Last run speed : 70.84 million agents x day / second
Rewiring : off

Global events:
Expand Down Expand Up @@ -130,7 +130,7 @@ covid19.print(False)
- Infected 0.00 0.00 0.86 0.14
- Recovered 0.00 0.00 0.00 1.00

<epiworldpy._core.ModelSEIRCONN at 0x10b1c85f0>
<epiworldpy._core.ModelSEIRCONN at 0x1058e6e70>

We can now visualize the model’s compartments:

Expand Down Expand Up @@ -250,7 +250,8 @@ plt.show()
time](README_files/figure-commonmark/gentime-visualization-output-1.png)

Epiworld records agent-agent interactions, and we can graph those too.
In the below example, we only all cases stemming from an index case.
In the below example, we only track all cases stemming from a specific
index case, despite the model having a prevalence of 0.01.

``` python
import networkx as nx
Expand Down
2 changes: 1 addition & 1 deletion README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ plt.grid(True)
plt.show()
```

Epiworld records agent-agent interactions, and we can graph those too. In the below example, we only all cases stemming from an index case.
Epiworld records agent-agent interactions, and we can graph those too. In the below example, we only track all cases stemming from a specific index case, despite the model having a prevalence of 0.01.

```{python}
#| label: contact-visualization
Expand Down

0 comments on commit 1384fdb

Please sign in to comment.