Problem 1: Mass-Luminosity/Mass-Radius Relations
You have a number of options for doing the least-squares line fits for this problem:
To run lfit, type
lfitIf that fails, try the full path:
/usr/local/pkg/bin/lfitIf both fail, come see me.
Problem 3: Spectral Classification
The spectra of your 5 stars for Problem 3 are given below in the form of a gzip-compressed tar file. Each of you are assigned 3 stellar spectra that are unique to you, and two "Mystery Spectra" that are to be classified by everyone.
To unpack your tar file type:
tar xvzf xx.tgzWhere "xx" are your initials. Your spectra will have names like
xx1.spc xx2.spc xx3.spc mstar1.spc mstar2.spc
When you write up your homework solutions, please refer to them as "Star
#1" through "Star #3", and "Mystery Star #1" and "Mystery Star #2".
pixel lambda relfluxwhere
pixel = original pixel number (runs 1-2899 or 2898) lambda = wavelength in Angstroms relflux = flux in erg/sec/cm^2/Angstrom relative to the flux at 5500AFor this exercise, you want to plot flux vs. lambda, and then use that plot to identify the lines for classification.
Note that these are observed spectra, in these sense that they are given to you as they would appear at the telescope after basic flux calibration, but without any corrections made for atmospheric or interstellar dust extinction along the line of sight. The radial velocities are negligible, so you should expect no Doppler shifts when identifying lines (i.e., don't fool yourself into thinking you can shift the spectra in wavelength to match up lines - these are all "zero velocity" - if what you think is Hydrogen lines don't match the wavelenghts, they aren't Hydrogen, no tricks here).
The MKK Spectral Atlas plates I showed you in class are available in the reading room, and should stay in the reading room so others may use them. You can also look at this website for digitally scanned versions of these plates, but the quality is not always as good as the originals.