Skip to content

Commit

Permalink
Minor updates to units notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed Jul 23, 2024
1 parent 3e4823b commit 4c8a856
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notebooks/astropy-units-completed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@
"id": "93658d4f",
"metadata": {},
"source": [
"[astropy.units]: https://docs.astropy.org/en/stable/units/index.html\n",
"[plasmapy.particles]: ../../particles/index.rst\n",
"[plasmapy.formulary]: ../../formulary/index.rst\n",
"[`astropy.units`]: https://docs.astropy.org/en/stable/units/index.html\n",
"[`plasmapy.particles`]: ../../particles/index.rst\n",
"[`plasmapy.formulary`]: ../../formulary/index.rst\n",
"\n",
"Representing a physical quantity as a number has risks. We might unknowingly perform operations with different units, like `time_in_seconds + time_in_hours`. We might even accidentally perform operations with physically incompatible units, like `length + time`, without catching our mistake. We can avoid these problems by using a units package.\n",
"Representing a physical quantity as a number has risks. We might unknowingly perform operations with different units, like `time_in_seconds + time_in_hours`. We might even accidentally perform operations with physically incompatible units, like `length + time`, without catching our mistake. Unit conversion errors can be costly mistakes, such as the loss of spacecraft like the [Mars Climate Orbiter](https://science.nasa.gov/mission/mars-climate-orbiter).\n",
"\n",
"This notebook introduces [astropy.units] with an emphasis on the functionality needed to work with [plasmapy.particles] and [plasmapy.formulary]. We typically import this subpackage as `u`."
"We can avoid these problems by using a units package. This notebook introduces [`astropy.units`] with an emphasis on the functionality needed to work with [`plasmapy.particles`] and [`plasmapy.formulary`]. We typically import [`astropy.units`] subpackage as `u`."
]
},
{
Expand Down

0 comments on commit 4c8a856

Please sign in to comment.