










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Random Systematic Statistics Judgment, Brains, & Maturity Physics Astronomy Device Physics Software Time Probability, expectation value, mean, median, quartiles, standard deviation, normal & Poisson distributions Least squares fitting Terminology & nomenclature, properties of stars, clusters, galaxies, SNe, pulsating stars; many other tidbits CCD noise sources, capabilities, limitations; optics, telescopes, imaging; Earth’s atmosphere ds IRAF DAOphot python
Celestial coordinates, Telescope mounts CCD calibration using ccdproc
To locate objects in the sky, it is useful to define celestial coordinates , which are the astronomical equivalents of longitude and latitude on Earth. “longitude” “Right Ascension” (measured in hours) “latitude” “Declination” (measured in degrees) The celestial poles are the extensions of the Earth’s rotation axis (the star Polaris happens to lie near the North Celestial Pole). The celestial equator results from expanding the Earth’s equator to infinity. The zero point of RA is defined as one of the two places where the Earth’s equatorial Plane intersects the Earth’s orbital plane (ie, the plane of the ecliptic). It is (almost) Fixed relative to the stars, so it rotates around the Earth once per day. Other important terms: Zenith – the point in the sky that is directly overhead (from wherever you are). Local meridian – the north south line passing through your zenith Hour Angle – the difference in RA between the position of a particular object and the RA that corresponds to your meridian at the moment. This is defined so that an object’s HA is negative when it is east of the meridian, and positive to the west. Sidereal Time – the RA that coincides with your local meridian at the moment.
(screen shot of lpar display) These are the default values These, for instance, govern how the ADU to grayscale conversion is done. We can change these in a temporary way by entering new values on the command line. Or we can change them for as long as we like by editing the parameter file using the epar task.
Now do displa dat1cal 1 # This should look much different from
You can override the changes you just made from the command line, by turning on the zrange parameter displa dat1cal zscale+ # when zscale is on, z1 and z2 parms
Or you can mess around with the scaling parameters explicitly, leaving the autoscaling (zrange) parameter off displa dat1cal z1=100 z2= displa dat1cal contrast=0.1 # (we have done this before) Also, VERY USEFUL , you can set all parameters back to their default values, thereby undoing any disastrous changes you may have made unlearn displa # For safety, it is good practice to do an
Now to correct CCD images for bias, dark, and flatfields without so much fuss. The task you want is called ccdproc. To get at it you need to load packages: imred # to load a package, type its name. ccdred The ccdproc task is capable of figuring out which images it should use for bias, dark, and flat, and which are to be calibrated using these. But only if the right keywords appear in the headers of the respective images. Our Tenagra data do not have these keywords, so we will supply them by setting the approptiate hidden parameters of ccdproc. We wish to calibrate the image sn2007uyR080308_01.fit (this is the same image we calibrated using imarith last time) So do the following: epar ccdproc
Now do ccdproc sn2007uyR080308_01 #This will pop you into epar, for one last #look at your params. Type ^d You should get a flock of identical and incomprehensible error messages, And that’s it. By default, ccdproc overwrites the original data file with the calibrated data. There are several ways to see that this has happened. For instance, try imhead sn2007uyR080308_01 lo+ | page You should see a number of new keywords, inserted by IRAF to tell you what processing was done, and what ancillary files were used to do it. Also notice that the size of the image is now 1016 x 1016, not 1024 x 1024. You can also look at the calibrated image, and compare it with dat1cal displa dat1cal 1 displa sn2007uyR080308_01 2 # put the 2 images in different frames
If you don’t like the scaling of the image, fix it by changing parameters in The display task, using epar. (Now that you know how )
If we had a long list of images taken with the same filter, we could Process them all at once by putting a wildcard or an image list in place of sn2007uyR080308_01 when we invoke ccdproc. We don’t have such a list, but consider sn2007uyV080308_ This image was taken on the same night as the other one, but with a different filter. Thus zero and dark are the same (as are trim, etc), but the flat image name must be changed to the obvious thing. epar ccdproc # now change the value of the “flat” keyword ccdproc sn2007uyV080308_01 # and you’re done. Cool, huh? So for good measure, now calibrate sn2007uyR080114_ (This is a different night, so you will need new zero and dark, as well as flat. Again, the naming convention should be obvious.)
imexam sn2007uy080308R_01 2 Center the cursor on the SN, and do a radial plot “r”. What you see in the graphics window is a mess: The radius chosen for the photometry is very large, and the fit to the image core is very bad. The problem is that the radial plot function attempts to guess what photometry radius to use, and if the background is large, it gets confused. To fix that, we use epar again.
epar rimexam # “rimexam” chooses parameters of the radial plot
Make the parameters Look like this: You will need to edit The “radius”, “buffer”, “width”, and “iterati” keywords
So now do imexamine radial plots for the supernova on both of our nights (080114 and 080308), and also for a reference star on the same nights. Tabulate the resulting magnitudes.
I get: Date Supernova Ref Star (SN – Ref) 080114 13.60 15.26 1. 080308 14.86 14.89 0. So if we assume the reference star was constant over this Time, the SN changed in R magnitude by +1.