Ejemplo n.º 1
0
def plottest(filename = None, outputpdf = "test.pdf"):
	"""
	Argument: filename
	Optional: outputpdf, default to test.pdf in current directory
	"""
	if filename ==None:
		raise IOError("Needs to give input filename.")
	s = Spectrum(filename)
	s.plot1D(outputpdf)
	return