reworking layer parameters
"\n",
"Installing and getting started with Covasim is quite simple. To install, just type `pip install covasim`. If it worked, you should be able to import Covasim with `import covasim as cv`.\n",
"\n",
- "The basic design philosphy of Covasim is: \"**Common tasks should be simple**\". For example:\n",
+ "The basic design philosphy of Covasim is: *common tasks should be simple*. For example:\n",
"- Defining parameters\n",
"- Running a simulation\n",
- "- Plotting results"
+ "- Plotting results\n",
+ "\n",
+ "This tutorial walks you through how to do these things."
]
},
{
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"pars = dict(\n",
- " pop_size = 50000,\n",
+ " pop_size = 50e3,\n",
" pop_infected = 100,\n",
" start_day = '2020-04-01',\n",
" end_day = '2020-05-01'\n",
"cell_type": "markdown",
"metadata": {},
"source": [
- "## Plotting a simulation\n",
+ "This will generate a results dictionary `sim.results`."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Plotting results\n",
"\n",
- "Guess what? Plotting a simulation is easy too:"
+ "Plotting the results of a simulation is rather easy too:"
]
},
{
