Contents |
Goals of this project
You must also have read the IDL primer. This is a data intensive lab and you will not be able to waste much time the first period reading the notes.
Grading Policy
Grading is based on the quality of the data analysis, the discussion of the uncertainties, and the answers to the questions at the end of this page.
In 1920 the National Academy of Sciences held a great debate, between Heber Curtis and Harlow Shapley about the scale of the Milky Way. Curtis argued for a large scale of the Milky Way, with the spiral nebulae as gas clouds within the Milky Way. Shapley argued for a much smaller Milky Way, with the spiral nebulae as "island universes", similar in size to the Milky Way, but very far away. Curtis was correct about the size of the Milky Way, but Shapley's view about the spiral nebulae was ultimately proven correct when in 1925 Edwin Hubble, using the Mt. Wilson 100 inch telescope, resolved the outer parts of M31, the Andromeda Nebula, into stars. The spiral nebulae are galaxies much like our Milky Way.
In the 1930's
Edwin
Hubble discovered and
quantified a relationship between the
distance of galaxies and their recessional velocities.
Left: Hubble guiding the Palomar Observatory 48" Schmidt telescope.
This is a publicity shot: it is generally not recommended that one smoke
while observing.


Solutions of the equations of general relativity show that a static universe
is stable
The inverse of H0is proportional to the age of the universe. Measuring the value of the Hubble Constant has not proved simple; the currently accepted value is about a factor of 7 smaller than Hubble's first estimate.
Your task in this lab is to verify that Hubble got it right. We have images and spectra of a sample of galaxies. Your task is to determine the redshifts, and to estimate the relative distances.
| target | RA | Dec | CD | Note |
|---|---|---|---|---|
| NGC 2525 | 08 05 38.0 | -11 25 1 | 1 | |
| NGC 2835 | 09 17 52.9 | -22 21 18 | 1 | |
| NGC 2889 | 09 27 12.6 | -11 38 37 | 1 | |
| NGC 2997 | 09 45 38.6 | -31 11 25 | 1 | |
| NGC 3059 | 09 50 07.9 | -73 55 17 | 1 | |
| NGC 3137 | 10 09 07.2 | -29 03 51 | 1 | |
| NGC 3140 | 10 09 27.6 | -16 37 41 | 1 | |
| NGC 3360 | 10 44 16.0 | -11 14 32 | 1 | |
| NGC 3361 | 10 44 29.0 | -11 12 27 | 1 | |
| NGC 3511 | 11 03 23.7 | -23 05 11 | 1 | S |
| NGC 3513 | 11 03 45.9 | -23 14 39 | 1 | |
| NGC 3621 | 11 18 16.0 | -32 48 42 | 2 | |
| NGC 3672 | 11 25 02.3 | -09 47 40 | 2 | |
| MCG -01-30-013 | 11 37 44.9 | -07 16 04 | 1 | |
| NGC 4666 | 12 45 08.7 | -00 27 41 | 2 | |
| NGC 4668 | 12 45 32.0 | -00 32 09 | 2 | X |
| NGC 4731 | 12 51 01.0 | -06 23 34 | 2 | |
| IC 4212 | 13 12 03.0 | -06 59 29 | 1 | |
| NGC 5068 | 13 18 54.6 | -21 02 20 | 2 | |
| UGCA 348 | 13 19 52.0 | -22 16 44 | 1 | |
| NGC 5170 | 13 29 48.9 | -17 57 59 | 2 | |
| MESSIER 083 | 13 37 00.8 | -29 51 59 | 1 | |
| NGC 5530 | 14 18 27.1 | -43 23 19 | 2 | |
| NGC 5643 | 14 32 40.7 | -44 10 28 | 2 | |
| MCG -01-38-012 | 14 58 30.0 | -06 49 14 | 1 | |
| NGC 5833 | 15 11 54.1 | -72 51 32 | 2 | |
| NGC 5885 | 15 15 04.1 | -10 05 10 | 2 | |
| NGC 5967 | 15 48 16.2 | -75 40 22 | 2 | |
| NGC 6118 | 16 21 48.5 | -02 17 03 | 2 | |
| ESO 138- G 010 | 16 59 02.9 | -60 13 03 | 1 |
Notes:
S: Seyfert 1 galaxy. Nucleus may be abnormally bright.
X: Possibly tidally truncated. May give misleading results.
Coordinates are epoch 2000. All have nominal Hubble types of Sc.
The data are stored on two CDs which should be easy to locate in the lab room. The data for each galaxy are in separate directories. Refer to the Table above to locate a specific data set.
The archival data include:
All the images and spectra are stored in FITS format.
The images were obtained using the SMARTS 0.9m CCD imager at the Cerro Tololo Interamerican Observatory during the spring of 2003. You should read up on CCDs. The data have been bias-corrected, trimmed, and flat-fielded.
If there is a single image cube, the name is GAL_icube.fits (where GAL is the name of the galaxy); if there are two images cubes, the names are GAL_icube*.fits, where * is either 1 or 2. The two images were taken on different days, and one is generally much longer (deeper) than the other. In general, use the deeper exposure.
Use IDL to read in the images. For example, to read the I band image for NGC2525, use the following sequence of commands:
cd,'NGC2525'
d=readfits('NGC2525_icube.fits',h)
print,sxpar(h,'filter*') ; print header words filter1, filter 2, etc.
; result is "B V R I"
image=d(*,*,3)
To automate the image analysis, you could find and extract the I band image automatically with the following two lines:
k=where(strtrim(sxpar(h,'filter*'),2) eq 'I') image=d(*,*,k)
Display the image using the TV command. The TV command is primitive: it does not scale the data, or resize the TV window. If the image is larger than the size of the monitor, you should probably rebin it (see this section) to a manageable size. Use the TVPLOT command or, for more control, size the plot window with the XSIZE and YSIZE keywords and do the flux scaling manually (see the "Using the Cursor to Measure Positions" section in the IDL primer). The images contain some bad columns, which can take very high or very low values. Some images contain very bright stars, which can make it hard to find a low surface brightness galaxy. I suggest you find the sky level, which to a good approximation is the median level in the image. In IDL, type m=median(image) to determine the median value m.
Plotting image>m will set the floor of the image to the median, getting rid of all negative points. To truncate high points, try plotting (image>m)<(m+n), where n is some threshhold level of counts above the median. You should also try plotting the log of the image (make sure there are no negative of zero values). Experiment until you find a good visualization of the galaxy. You could also experiment with plotting the logarithm of the image to bring up the fainter details while retaining dynamic range.
Note that some of the images are rather large (the original images are 2048 x2048 pixels). Feel free to trim the images as appropriate. For example, to make an 800 x 800 image out of a 1200x1200 image, retaining the same image center, you would type IMAGE=IMAGE(200:999,200:999)
Note that the keywords RA and DEC correspond to the actual pointing position of the telescope. You need to precess this from the epoch of the observation to epoch 2000, and then figure out where the central pixel is.
When you convert seconds of time to seconds of arc, remember that there is a cos(dec) factor in the conversion.
The images were obtained using the SMARTS 1.5m RC spectrograph at the Cerro Tololo Interamerican Observatory, mostly during the spring of 2003.
The two dimensional spectral images have been bias-corrected, trimmed, and flat-fielded. Three spectra were obtained of each object. These three spectra were median-filtered to remove cosmic rays. A wavelength comparison spectrum of a hollow-cathode arc lamp was obtained along with each spectrum. These have been reduced to produce the wavelength solution. The solution in a 4th or 5th order polynomial; the coefficients are in the FITS header.
The slit runs east-west; the slit width is 110 microns (1.5 arcsec).
Extract the spectra as
spectra = readfits(file,header)
where file is the name of the fits file, and spectra and
header are the output data and header vectors. spectra will
be an 1199 x 8 array.
The spectra have been linearized in wavelength; the wavelength of the first pixel and the number of Angstroms per pixel are given in the header keywords wave_0 and delta_w. Construct the wavelenth vector as w=sxpar(header,'wave_0')+sxpar(header,'delta_w')*findgen(1199)
Typical spatially-resolved spectral images (actually of the brightest of the galaxies, M83), are shown and described on this page.

The spectral resolution is 3.1 Angstroms.

The spectral resolution in the blue spectra is 4.3 Angstroms.
The stars.dat file is the output of a search of the USNO astrometric catalog, centered on the nominal position of the galaxy nucleus. Note that the positions given in the headers of the fits images are the positions of the telescope at the epoch of observation (usually in 2003), and may be off due to telescope drift.
The file provides the coordinates and magnitudes for stars within a square of size 7 arcmin centered on the galaxy. The columns headed Bn, Rn, I2 are, respectively, the B, R, and I magnitudes measured at two epochs (n=1, 2). An entry of 0.0 means no magnitude was measured. The B, R, and I magnitudes correspond approximately (but not exactly) to the B, R, and I bands in our images. See the USNO astrometric catalog help page more detailed descriptions. I have retained only stars with I2 magnitudes <18.
The last entry in each line is the distance from the center. Be leery of anything within a few arcsec of the galaxy: the nucleus is sometimes picked up as a star. Also, nebulosities and star clusters in the galaxy may be listed here as stars.
Because the image sizes vary, some stars may be outside the boundaries of the image.
We recommend the following:
You want to measure some distance-dependent quantity. For example, you could measure the angular size of the galaxy, either in pixels or arcsec, using the XPIXSIZE and YPIXSIZE header words to convert. The angular size should scale linearly with distance.
You could measure the brightness of the nucleus. For this you will need to do an aperture-extraction to determine the total number of counts in the nucleus. Be careful with the background subtraction.
You could measure the brightness of the brightest nebulosities in the B or V band images. As in the Olympics, throw away the brightest few (they may be pathological), and compare the 4th or 5th brightest. Again, be careful with the background subtraction.
You can select other criteria, but you must justify them. You should discuss them with the instructor first.
Note that you will not be doing rigorous photometry here. A brief introduction to everything that photometry entails is presented in this AST 443 photometry page.
The simplest way is to extract the counts in a square region centered on some object of interest at coordinates xc, yc For a square extraction region of radius r, the total counts are cts = image(xc-r:xc+r,yc-r:yc+r). You extract a background region in a similar way, avoiding stars and galaxy light. The background region need not be the same are as the extraction area, but if it is not you must scale the background to the area in the extraction aperture. Then subtract this background off to get the net counts.
The background should be taken near to, and preferably surrounding, the extraction region, in case there are gradients in the background. You can extract background in a larger area centered on the extraction box, or you can average a number of background regions. The most important thing is to explain carefully. what you did.
A more complex extraction would involve a circular aperture and concentric annuli for the background.
Always remember to propagate your errors correctly.
If you choose to measure the brightness of something, you will have to correct to absolute. To do this you need a reference of known brightness. This is where the stars.dat file comes in.
stars.dat is a printable text file. You can read the values into IDL variables using the rd_stars.pro procedure. The calling sequence is rd_stars,stars. The output variable stars is an IDL structure containing the data. Type rd_stars,/help for online help.
The structure contains the right ascension (stars.ra) and declination (stars.dec) of the stars. Identify a star in the image by taking the diffence in position between the star and the center of the galaxy in arcsec, and then convert to pixels. North is up in the image, East is left. Right ascension increases towards the east. The pixel scale is 0.401 arcsec per pixel. The position of the galaxy is given in the table above, or in the image header as keywords CRVAL2 and CRVAL2 (see the Astrometry section).
After you identify some stars in the image, you will perform aperture photometry on them to determine the number of detected counts. Convert the counts to the instrumental magnitude: mag = -2.5 log(counts). The difference betwen the instrumental and apparent magnitudes is the magnitude conversion factor. It is different for each filter, and varies with time due to weather condition, but should be the same everywhere within a given image. Use at least 3 stars to determine the conversion in order to reduce the scatter.
Note that the galaxies are extended on the sky, and there is galactic starlight in many cases. You may be able to see this in the vertical cuts. You may want to avoid this, if possible, but it is not crucial if all you intend to do is measure the radial velocities.
The spectra are easier to measure and comprehend than the distances. To ensure you get a broad range of recession velocities, I recommend you first determine redshifts for ALL the galaxies. Then select a sample distributed over the full range of recessional velocities for the distance determinations.
You should also sample a number of galaxies with similar recessional velocities in order to investigate your scatter at a given distance.

Comment on the quality of your results. Why is there so much scatter among the closer galaxies? Do all galaxies show a redshift (positive velocity). How confident are you of your relative distances?
In order to determine the value for the Hubble constant, you will need to know the distance to one of the galaxies. Here are the actual distances (based on the Cepheid period-luminosity relation) in Mpc to three galaxies:
| target | Distance |
|---|---|
|   | (Mpc) |
| NGC 3059 | 19.2 |
| NGC 5530 | 19.3 |
| NGC 5643 | 19.2 |
Question: Why is the mean surface brightness of the galaxy in the I band not a good distance indicator?