%matplotlib inline

import matplotlib.pyplot as plt
import numpy as np
import math

from astropy.io import fits

from scipy.optimize import curve_fit
import pyspeckit

"""
Explanation: Homework 2 (due April 27 before class)
Finish this homework in the appropriate cells, and copy this file to your home directory on ursa, so I can grab them and inspect them. Please keep the original filename.
End of explanation
"""


hdu = fits.open('../data/ngc6503.cube.fits')

"""
Explanation: Data: in this homework we will work with the now familiar NGC 6503 datacube.
End of explanation
"""


