Skip to content

Commit

Permalink
tweaks in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rodluger committed Feb 8, 2021
1 parent 36e367b commit aa491b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/notebooks/Ensemble.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's generate a synthetic ensemble of light curves of stars with \"similar\" spot properties. Let's define some true values for the spot properties of the ensemble:"
"In this section we will generate a synthetic ensemble of light curves of stars with \"similar\" spot properties. Let's define some true values for the spot properties of the ensemble:"
]
},
{
Expand Down Expand Up @@ -249,7 +249,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's generate 500 light curves from stars at random inclinations with spots drawn from the distributions above.\n",
"Now let's generate 500 light curves from stars at random inclinations with spots drawn from the distributions above.\n",
"We'll do this by adding discrete circular spots to each star via the `starry_process.calibrate.generate`\n",
"function.\n",
"Note that in order to mimic real observations, we'll normalize each light curve to its mean value and subtract unity to get the \"relative\" flux.\n",
Expand Down Expand Up @@ -458,7 +458,8 @@
"outputs": [],
"source": [
"samples = get_samples(varnames, model=model)\n",
"corner(samples, labels=varnames, truths=[truths[name] for name in varnames]);"
"corner(samples, labels=varnames, truths=[truths[name] for name in varnames])\n",
"plt.show()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/TimeVariability.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"In this tutorial, we will cover how to instatiate a time-variable `StarryProcess`, useful for modeling stars with spots that evolve over time. We will show how to sample from the process and use it to do basic inference."
"In this tutorial, we will cover how to instantiate a time-variable `StarryProcess`, useful for modeling stars with spots that evolve over time. We will show how to sample from the process and use it to do basic inference."
]
},
{
Expand Down

0 comments on commit aa491b5

Please sign in to comment.