Commit f9ede0a1 authored by Tom Dwelly's avatar Tom Dwelly
Browse files

many small changes to make speccy pass the w3.org tests

parent b515870b
<!DOCTYPE html>
<html>
<head>
<title>Speccy - A dynamic spectrum+template viewer</title>
<meta charset="UTF-8">
<meta name='description' content='Speccy - A dynamic spectrum+template viewer' />
<html>
<head>
<script src="http://www.mpe.mpg.de/~tdwelly/js/jquery-latest.js"></script>
<script src="http://www.mpe.mpg.de/~tdwelly/js/jquery-latest.js" type="text/javascript"></script>
<script src="http://www.mpe.mpg.de/~tdwelly/js/sprintf.js" type="text/javascript" ></script>
<script src="http://www.mpe.mpg.de/~tdwelly/js/fits.js" type="text/javascript" charset="utf-8"></script>
<script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this page.
......@@ -42,339 +42,347 @@
<style type='text/css'>
label {white-space: nowrap}
pre {font-family: Courier, monospace;
font-size: 12px;
margin:0;
padding:0; }
label {
white-space: nowrap
}
pre {
font-family: Courier, monospace;
font-size: 12px;
margin:0;
padding:0;
}
table, td, th {
padding: 2px;
border-collapse: collapse;
border: 1px solid gray;
}
</style>
</head>
<body onload="startUpTasks()" onresize="plotData();">
<!--<h2>Speccy - A dynamic spectrum+template viewer</h2>!-->
<table border="1" >
<tr>
<td colspan="3">
<canvas id="myCanvas" width="1000" height="500" style="border:1px solid #d3d3d3; cursor: crosshair;" tabindex="1">
Your browser does not support the HTML5 canvas element. Try e.g. a recent version of Firefox.
</canvas><br>
</td></tr>
<tr>
<td colspan="2">
<table border="1" title="SDSS pipeline parameters">
<tr>
<th title="SDSS Plate index">Plate</th>
<th title="MJD when this plate was last observed">MJD</th>
<th title="SDSS fiber index">FiberID</th>
<th title="Right Ascension of plugged fiber (deg, J2000)">RA<sub>plug</sub></th>
<th title="Declination of plugged fiber (deg, J2000)">Dec<sub>plug</sub></th>
<th title="SDSS 1D pipeline redshift">Z<sub>pipe</sub></th>
<th title="SDSS 1D pipeline redshift uncertainty" >&sigma;<sub>Z</sub></th>
<th title="SDSS 1D pipeline redshift warning flags">Z<sub>warning</sub></th>
<th title="SDSS 1D pipeline template spectral class">Class</th>
<th title="SDSS 1D pipeline template spectral sub-class">Subclass</th>
<th title="SDSS SN_MEDIAN_ALL metric">SNR</th>
<th>Links</th>
</tr>
<tr>
<td id="pipeParams_PLATE" ></td>
<td id="pipeParams_MJD" ></td>
<td id="pipeParams_FIBERID" ></td>
<td id="pipeParams_PLUG_RA" ></td>
<td id="pipeParams_PLUG_DEC" ></td>
<td id="pipeParams_Z" ></td>
<td id="pipeParams_Z_ERR" ></td>
<td id="pipeParams_ZWARNING" ></td>
<td id="pipeParams_CLASS" ></td>
<td id="pipeParams_SUBCLASS" ></td>
<td id="pipeParams_SN_MEDIAN_ALL"></td>
<td id="pipeParams_links"></td>
</tr>
</table>
</td>
<td rowspan="1">
Zoom:
<input type="button" onclick="applyZoom(1.25,1.00)" value="out X" title="zoom out X">
<input type="button" onclick="applyZoom(0.80,1.00)" value="in X" title="zoom in X">
<input type="button" onclick="applyZoom(1.00,1.25)" value="out Y" title="zoom out Y">
<input type="button" onclick="applyZoom(1.00,0.80)" value="in Y" title="zoom in Y">
<br>
<input type="button" onclick="previousZoom()" value="Previous">
<input type="button" onclick="resetZoom()" value="Reset">
</td>
</tr>
<tr>
<td>Current redshift:</td>
<td>
<input id="zinput" type="text" value="" onchange="updateFromzinput();" size="12" title="Current redshift of model+lines">
<!--<input type="button" onclick="updateFromzinput()" value="Update">!-->
<input type="button" onclick="resetTozpipe()" value="Reset to pipeline value" title="reset redshift to pipeline value">
<input type="button" onclick="setTominus1()" value="Set to -1" title="Set the redshift to -1 to represent an unknown value">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Increment/decrement redshift:
<input type="button" onclick="decrementRedshift(dznow_vcoarse)" value="<<<" title="large decrement">
<input type="button" onclick="decrementRedshift(dznow_coarse)" value="<<" title="coarse decrement">
<input type="button" onclick="decrementRedshift(dznow_fine)" value="<" title="fine decrement">
<input type="button" onclick="incrementRedshift(dznow_fine)" value=">" title="fine increment">
<input type="button" onclick="incrementRedshift(dznow_coarse)" value=">>" title="coarse increment">
<input type="button" onclick="incrementRedshift(dznow_vcoarse)" value=">>>" title="large increment">
</td>
<td rowspan="2">
Scroll window:
<table style="float:right;">
<tr>
<td><input type="button" onclick="applyOffset(-0.2,+0.1)" value="&#8598;" title="Scroll view up and left"></td>
<td><input type="button" onclick="applyOffset(+0.0,+0.1)" value="&#8593;" title="Scroll view up"></td>
<td><input type="button" onclick="applyOffset(+0.2,+0.1)" value="&#8599;" title="Scroll view up and right"></td>
</tr>
<tr>
<td><input type="button" onclick="applyOffset(-0.2,+0.0)" value="&#8592;" title="Scroll view left"></td>
<td></td>
<td><input type="button" onclick="applyOffset(+0.2,+0.0)" value="&#8594;" title="Scroll view right"></td>
</tr>
<tr>
<td><input type="button" onclick="applyOffset(-0.2,-0.1)" value="&#8601;" title="Scroll view down and left"></td>
<td><input type="button" onclick="applyOffset(+0.0,-0.1)" value="&#8595;" title="Scroll view down"></td>
<td><input type="button" onclick="applyOffset(+0.2,-0.1)" value="&#8600;" title="Scroll view down and right"></td>
</tr>
</table>
</td>
</tr>
<td>
Model Template:</td>
<td>
<select id="templateSelect" onchange="changeTemplate()" >
<option value="fromspec" selected="true">From specfile</option>
<option value="fromURL" >From URL</option>
<option value="qso1" >QSO: Type-I</option>
<option value="ellgal" >Galaxy: Elliptical</option>
<option value="Sabgal" >Galaxy: Sab</option>
<option value="Sbcgal" >Galaxy: Sbc</option>
<option value="Scdgal" >Galaxy: Scd</option>
<option value="Sdmgal" >Galaxy: Sdm</option>
<option value="sbgal" >Galaxy: Starburst</option>
<option value="pickles_o5v">Star: 05</option>
<option value="pickles_b0v">Star: B0</option>
<option value="pickles_a0v">Star: A0</option>
<option value="pickles_f0v">Star: F0</option>
<option value="pickles_g0v">Star: G0</option>
<option value="pickles_k0v">Star: K0</option>
<option value="pickles_k5v">Star: K5</option>
<option value="pickles_m0v">Star: M0</option>
<option value="pickles_m3v">Star: M3</option>
<option value="pickles_m6v">Star: M6</option>
<option value="ABeq0" >Fnu=const</option>
</select>
URL:
<input id="templateURL" type="text" value="" onchange="changeTemplate();" size="70" title="URL of template file"></input>
</td>
</tr>
<tr><td>
Z_CONF_PERSON:</td>
<td>
<label title="High level of certainty for both redshift and classification"><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="3" checked>3</label>
<label title="Uncertain redshift, certain classification" ><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="2" >2</label>
<label title="Uncertain redshift and classification" ><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="1" >1</label>
<label title="No inspection, Bad, Unplugged etc" ><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="0" >0</label>
</td>
<td rowspan="2">Toggle:<br>
<label><input type="checkbox" onclick="plotData();" value="ToggleFlux" id="ToggleFlux" checked>
<font style="color: #000000;">Signal</font></label>
<label><input type="checkbox" onclick="plotData();" value="ToggleNoise" id="ToggleNoise">
<font style="color: #aaaaaa;">Noise</font></label>
<label><input type="checkbox" onclick="plotData();" value="ToggleModel" id="ToggleModel" checked>
<font style="color: #dd0000;">Model</font></label>
<br>
<label><input type="checkbox" onclick="plotData();" value="ToggleLines" id="ToggleLines" checked>
<font style="color: #008800;">Lines</font></label>
<label><input type="checkbox" onclick="plotData();" value="ToggleSky" id="ToggleSky" >
<font style="color: #00dddd;">Sky</font>&nbsp;&#215;</label>
<input id="skyMult" type="text" value="0.05" onchange="plotData();" size="5" title="Sky flux multiplier">
</td>
</tr>
<tr>
<td>
CLASS_PERSON:</td>
<td>
<input type="radio" name="class_person" onchange="writeVIinfo()" value="NONE" >NONE
<input type="radio" name="class_person" onchange="writeVIinfo()" value="STAR" id="class_person_star" >STAR
<input type="radio" name="class_person" onchange="writeVIinfo()" value="GALAXY" id="class_person_galaxy">GALAXY
<input type="radio" name="class_person" onchange="writeVIinfo()" value="QSO" id="class_person_qso" >QSO
<input type="radio" name="class_person" onchange="writeVIinfo()" value="QSO_BAL" >QSO_BAL
<input type="radio" name="class_person" onchange="writeVIinfo()" value="BLAZAR" >BLAZAR
</td>
</tr>
<tr><td>
ISSUE:</td>
<td>
<select id="issueSelect" onchange="writeVIinfo()" >
<option value="None" selected="true">None</option>
<option value="low SN">Low S/N</option>
<option value="Line Ambiguity">Line Ambiguity</option>
<option value="Distorted Red/Blue Spectrum">Distorted Red/Blue Spectrum</option>
<option value="Sky Subtraction">Sky Subtraction</option>
<option value="Little/No Data">Little/No Data</option>
<option value="Superposition">Superposition</option>
<option value="Other/Unknown">Other/Unknown</option>
</select>
</td>
<td rowspan="2" title="Apply smoothing using a boxcar with the selected width (in pixels)">
Smoothing:
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="1" checked />Off</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="3" />3</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="5" />5</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="7" />7</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="9" />9</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="11" />11</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="15" />15</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="31" />31</label>
</td>
</tr>
<tr><td>
COMMENTS:</td>
<td>
<!-- <input id="commentBox" type="text" onchange="writeVIinfo()" value="" size="50"> !-->
<input id="commentBox" type="text" onchange="writeVIinfo()" value="" size="50" style="width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;">
</td></tr>
<tr>
<td colspan="2">
<!-- <textarea rows="1" cols="105" id="resultBox" style="background-color: lightgrey;">-</textarea> !-->
<textarea rows="1" id="resultBox" style="background-color: lightgrey; border: none; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;">-</textarea>
</td>
<td>
<input type="button" onclick="writeVIinfo()" value="Print Formatted Details" />
<input type="hidden" onclick="submitVIinfo()" value="Submit Inspection Results" id="submitButton" title="Submit your visual inspection results to the server"/>
</td>
</tr>
<table>
<tr>
<td colspan="3" style="padding:0px;">
<canvas id="myCanvas" width="1000" height="500" style="border:1px solid #d3d3d3; cursor: crosshair;" tabindex="1">
Your browser does not support the HTML5 canvas element. Try e.g. a recent version of Firefox.
</canvas>
</td>
</tr>
<tr>
<td colspan="2">
<table title="SDSS pipeline parameters" style="padding:3px;">
<tr>
<th title="SDSS Plate index">Plate</th>
<th title="MJD when this plate was last observed">MJD</th>
<th title="SDSS fiber index">FiberID</th>
<th title="Right Ascension of plugged fiber (deg, J2000)">RA<sub>plug</sub></th>
<th title="Declination of plugged fiber (deg, J2000)">Dec<sub>plug</sub></th>
<th title="SDSS 1D pipeline redshift">Z<sub>pipe</sub></th>
<th title="SDSS 1D pipeline redshift uncertainty" >&sigma;<sub>Z</sub></th>
<th title="SDSS 1D pipeline redshift warning flags">Z<sub>warning</sub></th>
<th title="SDSS 1D pipeline template spectral class">Class</th>
<th title="SDSS 1D pipeline template spectral sub-class">Subclass</th>
<th title="SDSS SN_MEDIAN_ALL metric">SNR</th>
<th>Links</th>
</tr>
<tr>
<td id="pipeParams_PLATE" ></td>
<td id="pipeParams_MJD" ></td>
<td id="pipeParams_FIBERID" ></td>
<td id="pipeParams_PLUG_RA" ></td>
<td id="pipeParams_PLUG_DEC" ></td>
<td id="pipeParams_Z" ></td>
<td id="pipeParams_Z_ERR" ></td>
<td id="pipeParams_ZWARNING" ></td>
<td id="pipeParams_CLASS" ></td>
<td id="pipeParams_SUBCLASS" ></td>
<td id="pipeParams_SN_MEDIAN_ALL"></td>
<td id="pipeParams_links"></td>
</tr>
</table>
</td>
<td rowspan="1">
Zoom: Out:
<input type="button" onclick="applyZoom(1.25,1.00)" value="X" title="zoom outwards in X">
<input type="button" onclick="applyZoom(1.00,1.25)" value="Y" title="zoom outwards in Y">
<input type="button" onclick="applyZoom(1.25,1.25)" value="X+Y" title="zoom outwards in X and Y">
In:
<input type="button" onclick="applyZoom(0.80,1.00)" value="X" title="zoom inwards in X">
<input type="button" onclick="applyZoom(1.00,0.80)" value="Y" title="zoom inwards in Y">
<input type="button" onclick="applyZoom(0.80,0.80)" value="X+Y" title="zoom inwards in X and Y">
<br>
<input type="button" onclick="previousZoom()" value="Previous view">
<input type="button" onclick="resetZoom()" value="Reset view">
</td>
</tr>
<tr>
<td>Current redshift:</td>
<td>
<input id="zinput" type="text" value="" onchange="updateFromzinput();" size="10" title="Current redshift of model+lines">
<input type="button" onclick="resetTozpipe()" value="Reset to Zpipe" title="reset redshift to pipeline value">
<input type="button" onclick="setTominus1()" value="Set to -1" title="Set the redshift to -1 to represent an unknown value">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adjust redshift:
<input type="button" onclick="decrementRedshift(dznow_vcoarse)" value="<<<" title="large decrement">
<input type="button" onclick="decrementRedshift(dznow_coarse)" value="<<" title="coarse decrement">
<input type="button" onclick="decrementRedshift(dznow_fine)" value="<" title="fine decrement">
<input type="button" onclick="incrementRedshift(dznow_fine)" value=">" title="fine increment">
<input type="button" onclick="incrementRedshift(dznow_coarse)" value=">>" title="coarse increment">
<input type="button" onclick="incrementRedshift(dznow_vcoarse)" value=">>>" title="large increment">
</td>
<td rowspan="2">
Scroll window:
<table style="float:right;">
<tr>
<td><input type="button" onclick="applyOffset(-0.2,+0.1)" value="&#8598;" title="Scroll view up and left"></td>
<td><input type="button" onclick="applyOffset(+0.0,+0.1)" value="&#8593;" title="Scroll view up"></td>
<td><input type="button" onclick="applyOffset(+0.2,+0.1)" value="&#8599;" title="Scroll view up and right"></td>
</tr>
<tr>
<td><input type="button" onclick="applyOffset(-0.2,+0.0)" value="&#8592;" title="Scroll view left"></td>
<td></td>
<td><input type="button" onclick="applyOffset(+0.2,+0.0)" value="&#8594;" title="Scroll view right"></td>
</tr>
<tr>
<td><input type="button" onclick="applyOffset(-0.2,-0.1)" value="&#8601;" title="Scroll view down and left"></td>
<td><input type="button" onclick="applyOffset(+0.0,-0.1)" value="&#8595;" title="Scroll view down"></td>
<td><input type="button" onclick="applyOffset(+0.2,-0.1)" value="&#8600;" title="Scroll view down and right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
Model Template:</td>
<td>
<select id="templateSelect" onchange="changeTemplate()" >
<option value="fromspec" selected>From specfile</option>
<option value="fromURL" >From URL</option>
<option value="qso1" >QSO: Type-I</option>
<option value="ellgal" >Galaxy: Elliptical</option>
<option value="Sabgal" >Galaxy: Sab</option>
<option value="Sbcgal" >Galaxy: Sbc</option>
<option value="Scdgal" >Galaxy: Scd</option>
<option value="Sdmgal" >Galaxy: Sdm</option>
<option value="sbgal" >Galaxy: Starburst</option>
<option value="pickles_o5v">Star: 05</option>
<option value="pickles_b0v">Star: B0</option>
<option value="pickles_a0v">Star: A0</option>
<option value="pickles_f0v">Star: F0</option>
<option value="pickles_g0v">Star: G0</option>
<option value="pickles_k0v">Star: K0</option>
<option value="pickles_k5v">Star: K5</option>
<option value="pickles_m0v">Star: M0</option>
<option value="pickles_m3v">Star: M3</option>
<option value="pickles_m6v">Star: M6</option>
<option value="ABeq0" >Fnu=const</option>
</select>
URL:
<input id="templateURL" type="text" value="" onchange="changeTemplate();" size="70" title="URL of template file" />
</td>
</tr>
<tr>
<td>
Z_CONF_PERSON:
</td>
<td>
<label title="High level of certainty for both redshift and classification"><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="3" checked>3</label>
<label title="Uncertain redshift, certain classification" ><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="2" >2</label>
<label title="Uncertain redshift and classification" ><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="1" >1</label>
<label title="No inspection, Bad, Unplugged etc" ><input type="radio" name="z_conf_person" onchange="writeVIinfo()" value="0" >0</label>
</td>
<td rowspan="2">Toggle plot elements:<br>
<label><input type="checkbox" onclick="plotData();" value="ToggleFlux" id="ToggleFlux" checked>
<span style="color: #000000;">Signal</span></label>
<label><input type="checkbox" onclick="plotData();" value="ToggleNoise" id="ToggleNoise">
<span style="color: #aaaaaa;">Noise</span></label>
<label><input type="checkbox" onclick="plotData();" value="ToggleModel" id="ToggleModel" checked>
<span style="color: #dd0000;">Model</span></label>
<br>
<label><input type="checkbox" onclick="plotData();" value="ToggleLines" id="ToggleLines" checked>
<span style="color: #008800;">Lines</span></label>
<label><input type="checkbox" onclick="plotData();" value="ToggleSky" id="ToggleSky" >
<span style="color: #00dddd;">Sky</span>&nbsp;&#215;</label>
<input id="skyMult" type="text" value="0.05" onchange="plotData();" size="5" title="Sky flux multiplier">
</td>
</tr>
<tr>
<td>
CLASS_PERSON:
</td>
<td>
<input type="radio" name="class_person" onchange="writeVIinfo()" value="NONE" >NONE
<input type="radio" name="class_person" onchange="writeVIinfo()" value="STAR" id="class_person_star" >STAR
<input type="radio" name="class_person" onchange="writeVIinfo()" value="GALAXY" id="class_person_galaxy">GALAXY
<input type="radio" name="class_person" onchange="writeVIinfo()" value="QSO" id="class_person_qso" >QSO
<input type="radio" name="class_person" onchange="writeVIinfo()" value="QSO_BAL" >QSO_BAL
<input type="radio" name="class_person" onchange="writeVIinfo()" value="BLAZAR" >BLAZAR
</td>
</tr>
<tr><td>
ISSUE:</td>
<td>
<select id="issueSelect" onchange="writeVIinfo()" >
<option value="None" selected>None</option>
<option value="low SN">Low S/N</option>
<option value="Line Ambiguity">Line Ambiguity</option>
<option value="Distorted Red/Blue Spectrum">Distorted Red/Blue Spectrum</option>
<option value="Sky Subtraction">Sky Subtraction</option>
<option value="Little/No Data">Little/No Data</option>
<option value="Superposition">Superposition</option>
<option value="Other/Unknown">Other/Unknown</option>
</select>
</td>
<td rowspan="2" title="Apply smoothing using a boxcar with the selected width (in pixels)">
Smoothing:
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="1" checked />Off</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="3" />3</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="5" />5</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="7" />7</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="9" />9</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="11" />11</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="15" />15</label>
<label><input type="radio" name="smoothing" onchange="updateSmoothing()" value="31" />31</label>
</td>
</tr>
<tr><td>
COMMENTS:</td>
<td>
<!-- <input id="commentBox" type="text" onchange="writeVIinfo()" value="" size="50"> !-->
<input id="commentBox" type="text" onchange="writeVIinfo()" value="" size="50" style="width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;">
</td></tr>
<tr>
<td colspan="2">
<!-- <textarea rows="1" cols="105" id="resultBox" style="background-color: lightgrey;">-</textarea> !-->
<textarea rows="1" id="resultBox" style="background-color: lightgrey; border: none; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;">-</textarea>
</td>
<td>
<input type="button" onclick="writeVIinfo()" value="Print Formatted Details" />
<input type="hidden" onclick="submitVIinfo()" value="Submit Inspection Results" id="submitButton" title="Submit your visual inspection results to the server"/>
</td>
</tr>
</table>
<p id="inspectInBrowser"></p>
<hr>
<p style="color: red;"> Warning! Speccy is still in development, so please be wary of (and report) unexpected behaviour.</p>
<h4>Usage:</h4>
<p>http://www.mpe.mpg.de/~tdwelly/speccy/speccy.html?specfile={URL} (substitute URL of a valid speccy file)<br>
* The cursor (arrow) keys move the template in redshift and normalisation<br>
* To zoom into a region: click and hold the right mouse button at one corner of the region of interest,
then drag the pointer to the opposite corner of the region where you then release the right button
(visual feedback is not yet available). <br>
* Left-clicking the button displayes the coordinates of the pointer position at the time of the click. <br>
* Please send comments, complaints and suggestions to <a href="mailto:dwelly@mpe.mpg.de">dwelly@mpe.mpg.de</a>.
<p>
* The cursor (arrow) keys move the template in redshift and normalisation<br>
* To zoom into a region: click and hold the right mouse button at one corner of the region of interest,
then drag the pointer to the opposite corner of the region where you then release the right button
(visual feedback is not yet available). <br>
* Left-clicking the button displayes the coordinates of the pointer position at the time of the click. <br>
* Please send comments, complaints and suggestions to <a href="mailto:dwelly@mpe.mpg.de">dwelly@mpe.mpg.de</a>.
</p>
<h4>Speccy File format:</h4>
<p>These are plain ASCII text files.<br>
Header entries are prefixed by a hash and contain "key = value" pairs.<br>
Main body should contain five comma-separated columns: <br>
<tt>ObservedVacuumWavelength(&#x212b;),Flux,FluxError,SkyFlux,ModelFlux</tt> <br>
(all fluxes in units 10<sup>-17</sup> erg cm<sup>-2</sup> s<sup>-1</sup>&#x212b;<sup>-1</sup>)<br>
Template files should contain just two comma-separated columns: <br>
<tt>RestframeVacuumWavelength(&#x212b;),ModelFlux(F<sub>&lambda;</sub>)</tt>
<br>
Here is a script that can be used to convert a plateful of eBOSS pectra from "spPlate*"+"spZbest*" format into speccy format:
<a href="http://www.mpe.mpg.de/~tdwelly/speccy/convert_sdss_plate_to_speccy.csh"> convert_sdss_plate_to_speccy.csh</a>
<p>
These are plain ASCII text files.<br>
Header entries are prefixed by a hash and contain "key = value" pairs.<br>
Main body should contain five comma-separated columns
(with all fluxes in units 10<sup>-17</sup> erg cm<sup>-2</sup> s<sup>-1</sup> &Aring;<sup>-1</sup>):
</p>
<blockquote><samp>Observed Vacuum Wavelength (&Aring;), Flux, FluxError, SkyFlux, ModelFlux</samp></blockquote>
<p>
Template files should contain just two comma-separated columns:
</p>
<blockquote><samp>Rest-frame Vacuum Wavelength (&Aring;), ModelFlux (F<sub>&lambda;</sub>)</samp></blockquote>
<p>
Here is a script that can be used to convert a plateful of eBOSS spectra from "spPlate*"+"spZbest*"+"spZall*" format into speccy format:<br>
<a href="http://www.mpe.mpg.de/~tdwelly/speccy/convert_sdss_plate_to_speccy.csh"> convert_sdss_plate_to_speccy.csh</a>
</p>
</body>
<hr>
<h4>Class/Confidence matrix :</h4>
<table border="1">
<tr>
<th rowspan="2">CLASS_PERSON</th>
<th colspan="4">Z_CONF_PERSON</th>
</tr>
<tr>
<th>0</th>
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
<tr>
<th>NONE</th>
<td title="Classifier has no opinion">No vote</td>
<td title="Technical issues related to observations, e.g. unplugged fibre">Bad Spectrum</td>
<td title="No spectral features and no continuum">No Signal </td>
<td title="No spectral features but continuum present">Continuum only</td>
</tr>
<tr>
<th>STAR</th>
<td></td>
<td></td>
<td title="Looks like stellar continuum (e.g. Black body) but clear spectral lines">Star_?</td>
<td title="Definite star">Star</td>
</tr>
<tr>
<th>QSO</th>
<td></td>
<td title="Deprecated" style="color:grey">QSO_?</td>
<td title="Single broad emission line" title >QSO_Z?</td>
<td title="Two or more spectral features including broad lines">QSO</td>
</tr>
<tr>
<th>GALAXY</th>
<td></td>
<td></td>
<td title="Single non-broad emission line">Galaxy_Z?</td>
<td title="Two or more spectral features, no broad lines">Galaxy</td>
</tr>
<tr>
<th>QSO_BAL</th>
<td></td>
<td></td>
<td title="Redshift uncertainty because of BAL absorption troughs">QSO_BAL_Z?</td>
<td title="BALs but redshift can be measured from emission lines">QSO_BAL</td>
</tr>
<tr>
<th>BLAZAR</th>
<td></td>
<td></td>
<td title="Blazar continuum but no lines to measure redshift">BLAZAR_Z?</td>
<td title="Blazar continuum and lines to measure redshift">BLAZAR</td>
</tr>
<table>
<tr>
<th rowspan="2">CLASS_PERSON</th>
<th colspan="4">Z_CONF_PERSON</th>
</tr>
<tr>
<th>0</th>
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
<tr>
<th>NONE</th>
<td title="Classifier has no opinion">No vote</td>
<td title="Technical issues related to observations, e.g. unplugged fibre">Bad Spectrum</td>
<td title="No spectral features and no continuum">No Signal </td>
<td title="No spectral features but continuum present">Continuum only</td>
</tr>
<tr>
<th>STAR</th>
<td></td>
<td></td>
<td title="Looks like stellar continuum (e.g. Black body) but clear spectral lines">Star_?</td>
<td title="Definite star">Star</td>
</tr>
<tr>
<th>QSO</th>
<td></td>
<td title="Deprecated" style="color:grey">QSO_?</td>
<td title="Single broad emission line">QSO_Z?</td>
<td title="Two or more spectral features including broad lines">QSO</td>
</tr>
<tr>
<th>GALAXY</th>
<td></td>
<td></td>
<td title="Single non-broad emission line">Galaxy_Z?</td>