forked from NASA-NAVO/aas_workshop_2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
workshop_preparation.txt
39 lines (28 loc) · 1.03 KB
/
workshop_preparation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Install the Anaconda Navigator, Python 3.6
https://docs.anaconda.com/anaconda/navigator/install.html
Start a Jupyter notebook using one of two methods:
1. From the Anaconda Navigator, launch jupyter notebook.
2. From the command line, type "jupyter notebook".
Navigate to your working directory. Open a new Python 3 notebook.
Cut and paste the following into the first cell of the notebook and type shift-return to run that cell. Let me know if you get any errors.
import os
import io
import requests
import shutil
import ntpath
import urllib.parse
import urllib.request
import matplotlib.pyplot as plt
import numpy as np
from IPython.display import Markdown, display
from astropy.io import ascii
from astropy.io.fits import getdata, getheader
import astropy.io.fits as fits
from astropy.table import Table, Column
from astropy.nddata import Cutout2D
import astropy.coordinates as coord
from astropy.coordinates import SkyCoord
from astropy.wcs import wcs
import astropy.units as u
import warnings
from astropy.utils.data import download_file