RE: iraf_specreduce_tutorial.ipynb
While looking at this tutorial, I came across a few issues in the following code:
Block 3:
import ccdproc
from ccdproc import CCDData, ImageFileCollection
and
Block 4:
from ccdproc import ImageFileCollection
image_dir = 'exercises/spec/'
ic = ImageFileCollection('exercises/spec/') #read in all FITS files in the directory
Issues:
from ccdproc import CCDData, ImageFileCollection and from ccdproc import ImageFileCollection should be covered by import ccdproc
- In block 4,
ImageFileCollection is already imported in block 3
ImageFileCollection('exercises/spec/') should be able to be replaced with ImageFileCollection(image_dir)
Finally-
- In the introduction, the link to 'some data' results in a 404 error.
RE: iraf_specreduce_tutorial.ipynb
While looking at this tutorial, I came across a few issues in the following code:
Block 3:
and
Block 4:
Issues:
from ccdproc import CCDData, ImageFileCollectionandfrom ccdproc import ImageFileCollectionshould be covered byimport ccdprocImageFileCollectionis already imported in block 3ImageFileCollection('exercises/spec/')should be able to be replaced withImageFileCollection(image_dir)Finally-