adding notebooks

This commit is contained in:
Allen Downey
2020-10-05 10:36:45 -04:00
parent 9e92255fdb
commit ce86a03726
8 changed files with 10813 additions and 0 deletions
+1644
View File
File diff suppressed because it is too large Load Diff
+1968
View File
File diff suppressed because it is too large Load Diff
+1868
View File
File diff suppressed because one or more lines are too long
+1361
View File
File diff suppressed because one or more lines are too long
+1307
View File
File diff suppressed because one or more lines are too long
+1380
View File
File diff suppressed because one or more lines are too long
+1186
View File
File diff suppressed because one or more lines are too long
+99
View File
@@ -0,0 +1,99 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook imports the libraries we need for the workshop.\n",
"\n",
"If any of them are missing, you'll get an error message.\n",
"\n",
"If you don't get any error messages, you are all set."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import matplotlib as mpl\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.path import Path\n",
"from matplotlib.patches import Polygon"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"import astropy.coordinates as coord\n",
"import astropy.units as u\n",
"from astropy.table import Table"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"import gala.coordinates as gc\n",
"from pyia import GaiaData"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"# Note: running this import statement opens a connection\n",
"# to a Gaia server, so it will fail if you are not connected\n",
"# to the internet.\n",
"\n",
"from astroquery.gaia import Gaia"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}