Back to the galaxy selection table
Image of $galaxy
Full optical spectrum (not clickable):
- Calcium H & K:
- H-alpha:
- H-beta:
- H-delta:
Back to the galaxy selection table
Image of $galaxy
END
htmlfoot();
}
else{
####################################################################
#
# Process mouse click; calculate wavelength and display results
#
$wav = $xscale*($x-$xoffset) + $xmin;
$wav = int($wav*10)/10; # Cheap way to format...
htmlhead("Spectrum: $galaxy");
# Write to logfile :: Use flock !!
# $logfile="$log_dir/$galaxy";
# $logentry="$sline:$wav";
# open(LOGFILE,">>$logfile");
# flock(LOGFILE, 2);
# seek(LOGFILE,0,2);
# print LOGFILE "$logentry\n";
# seek(LOGFILE,0,8);
# close(LOGFILE);
###
print<
Spectral feature: $sline
Your measured wavelength:
$wav $xunits
END
htmlfoot();
}