hw3_sol - #! /usr/bin/env python # AST5765/4762 2009 HW3...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
#! /usr/bin/env python # AST5765/4762 2009 HW3 Solutions # Updated by Kevin Stevenson # 1. # see homework directory; example: import numpy as np import matplotlib.pyplot as plt import pyfits import square # Test square print(square.square(np.arange(10.))) # 2. import squareplot squareplot.squareplot(1, 7, 5, savename='hw3-sol-prob2-plot1.png') # plt.show() # 3. # This is a long list, so here are the resources I find myself going # back to: # Greenfield and Jedrzejewski 2007. Using Python for Interactive Data # Analysis. http://www.scipy.org/wikis/topical_software/Tutorial. # A good intro to both the basics of Python and to using Numpy and # Matplotlib for data analysis. There are enough examples to cover # all the basics of interactive use without getting bogged down. # There is not much discussion of objects, the machine model, or # programming. # Hunter, J. 2007. Using matplotlib interactively. # http://matplotlib.sourceforge.net/interactive.html
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

hw3_sol - #! /usr/bin/env python # AST5765/4762 2009 HW3...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online