For homework, please send completed notebooks to rij@stsci.edu
All arrays should be 1024 x 1024 in size.
Array 1 should be Int16, 2 should be Float32 and 3 should be Int16
Verify that the first array does indeed have a mean of 100 and a standard deviation of 10.
Write out all 3 arrays to FITS file with array 1 in extension 1, array 2 in extension 2 and array 3 in extension 3. Include a keyword in the primary header MYNAME and set it equal to a string with your name.
Make a figure that consists of 2 plots side by side. The first is an image display of the gaussian noise image from problem 1 above, using a 'winter' colormap. The second is a histogram of the pixel values in the image. Add appropriate axis labels and titles.
Make a table with 8 columns:
Populate this table with the correct values for Theta in degrees from 0 to 360.0 in increments of 1.0
If the data overflows, replace with 99999.0 or -99999.0
Write out the table in Latex form.