Skip to content

Commit

Permalink
'specClass' changed to 'class'
Browse files Browse the repository at this point in the history
  • Loading branch information
dmedv committed Feb 6, 2015
1 parent b9956be commit ae18dcc
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion en/help/docs/QS_UserGuide.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ you want returned from your query?
<p>
The options are:
<%
showEnumQS(oConn, "specClass");
showEnumQS(oConn, "class");
%>

<hr>
Expand Down
2 changes: 1 addition & 1 deletion en/help/howto/search/rightsearch.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1><font color=black>The Right Search</font></h1>
and p.g-p.r < 0<br>
and p.g < 15<br>
and p.r < 15<br>
and s.specClass = 2</font></p>
and s.class = 2</font></p>
<p><font color=black>Don't worry, you'll learn what each of these terms means later in the tutorial.</font></p>

<a name="tools"></a>
Expand Down
2 changes: 1 addition & 1 deletion en/help/howto/search/specobj.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1>SpecObj</h1>
<td width="76%"><font face="Arial" color="white">error in redshift</font></td>
</tr>
<tr>
<td width="24%"><font face="Arial" color="white">specClass </font>
<td width="24%"><font face="Arial" color="white">class </font>
</td>
<td width="76%"><font face="Arial" color="white">spectral
classification ['GALAXY', 'QSO', or 'STAR']</font></td>
Expand Down
2 changes: 1 addition & 1 deletion en/proj/basic/scavenger/Explorer.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<img src="images/explore.jpg">

<p>Scroll down to the bottom of the page. The spectrum is the graph at the lower left. Just above the graph, look at the piece of data labeled "specClass." SpecClass indicates what type of object this is. The example in the screenshot above says GALAXY under specClass, so the object is a galaxy.</p>
<p>Scroll down to the bottom of the page. The spectrum is the graph at the lower left. Just above the graph, look at the piece of data labeled "class." Class indicates what type of object this is. The example in the screenshot above says GALAXY under class, so the object is a galaxy.</p>

<p>Click Next to learn about the types of objects you will see.</p>

Expand Down
2 changes: 1 addition & 1 deletion en/proj/basic/scavenger/ObjectTypes.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</tr>
</table>

<p>The images of quasars look like stars. Quasars can only be reliably identified by looking at their spectra. If you find a star in the Navigation Tool and wonder if it might be a quasar, check to see if the SDSS has measured its spectrum. If it has a spectrum measured, open the Object Explorer to see the spectrum. If the object's specClass is listed as "QSO" or "HIZ_QSO," the object is a quasar.</p>
<p>The images of quasars look like stars. Quasars can only be reliably identified by looking at their spectra. If you find a star in the Navigation Tool and wonder if it might be a quasar, check to see if the SDSS has measured its spectrum. If it has a spectrum measured, open the Object Explorer to see the spectrum. If the object's class is listed as "QSO" or "HIZ_QSO," the object is a quasar.</p>


</td>
Expand Down
2 changes: 1 addition & 1 deletion en/proj/challenges/hii/Query.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
you are really interested in.</p>
<p>You want to be sure that you are looking at galaxies, not stars or quasars,
so include the line:</p>
<p>specPhoto.specClass = 2</p>
<p>specPhoto.class = 2</p>

<p>To learn how to use SQL, see SkyServer's <a href="../../../help/howto/search/" target="help">Searching
for Data</a> how-to tutorial. You can find other SQL tutorials
Expand Down
2 changes: 1 addition & 1 deletion en/proj/teachers/advanced/quasars/Specifics.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
have spectra. It is a lot faster to search a smaller database.</p>
<p>The WHERE block tells the computer what features to look for.
We are looking for objects with spectra and well-measured redshifts that
are classified as quasars (specClass = 3).</p>
are classified as quasars (class = 3).</p>
<p>Students can have the data returned as a HTML file in their browser or
a comma separated value file (csv). If they choose HTML, they can
select the data in the table and paste it into an Excel spreadsheet.
Expand Down
2 changes: 1 addition & 1 deletion en/proj/teachers/challenges/hii/Specifics.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<p>photoObj, specObj, plate</p>
<p>where</p>
<p>photoObj.objId = specObj.objID AND specObj.plateID = plate.plateID AND
specObj.specClass = 2 and photoObj.u - photoObj.z < 2</p>
specObj.class = 2 and photoObj.u - photoObj.z < 2</p>

</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions en/tools/explore/AllSpec.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
string cmd = "select s.specObjId, s.plate as plate, s.mjd as MJD, s.fiberID as fiber, str(t.ra,10,5) as ra, str(t.dec,10,5) as dec, ";
cmd += " str(s.ra,10,5) as specRa, str(s.dec,10,5) as specDec, ";
cmd += " s.sciencePrimary, str(dbo.fDistanceArcMinEq(t.ra,t.dec,s.ra,s.dec),10,8) as distanceArcMin, ";
cmd += " s.class as specClass";
cmd += " s.class as class";
cmd += " from SpecObjAll s, photoobjall t where t.objid=" + objId + " and s.bestobjid=t.objid ";
//cmd += " order by scienceprimary desc, distanceArcMin asc";
cmd += " order by scienceprimary desc, plate, MJD, fiber";
Expand All @@ -50,7 +50,7 @@
string cmd = "select s.specObjId, s.plate as plate, s.mjd as MJD, s.fiberID as fiber, str(t.ra,10,5) as ra, str(t.dec,10,5) as dec, ";
cmd += " str(s.ra,10,5) as specRa, str(s.dec,10,5) as specDec, ";
cmd += " s.sciencePrimary, str(dbo.fDistanceArcMinEq(t.ra,t.dec,s.ra,s.dec),10,8) as distanceArcMin, ";
cmd += " s.class as specClass";
cmd += " s.class as class";
cmd += " from SpecObjAll s, photoobjall t where t.objid=" + objId + " and s.fluxobjid=t.objid ";
//cmd += " order by scienceprimary desc, distanceArcMin asc";
cmd += " order by scienceprimary desc, plate, MJD, fiber ";
Expand Down
2 changes: 1 addition & 1 deletion en/tools/quicklook/QuickSummary.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ protected void showSpecData(SqlConnection oConn, string cmd, int width)
{
/*
This function displays *only* the spectral data required by the 'Quick Look' interface.
Only specClass, Redshift (z), and zConf will ever be sent to this function.
Only class, Redshift (z), and zConf will ever be sent to this function.
The function includes specialized formatting to work with those data.
-Jordan Raddick, 9/17/07
Expand Down
2 changes: 1 addition & 1 deletion en/tools/search/form/SearchForm.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ private string buildWhere()
}

// next line selects quasars
if (objecttype.SelectedItem.Text.CompareTo("quasars") == 0) l.Add("(s.specclass = 3 or s.specclass = 4)");
if (objecttype.SelectedItem.Text.CompareTo("quasars") == 0) l.Add("(s.class = 3 or s.class = 4)");

if (allorspectra.SelectedItem.Text.CompareTo("only objects with spectra") == 0)
{
Expand Down
2 changes: 1 addition & 1 deletion en/tools/started/SqlSearch.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
SpecObj s, PhotoObj p, plateX w</p>
<p>where<br>
p.ObjID=s.bestObjID and w.plateID=s.plateID and<br>
s.z &gt; 4 and s.zConf &gt; 0.95 and s.specClass = 3</p>
s.z &gt; 4 and s.zConf &gt; 0.95 and s.class = 3</p>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion misc/Globals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public Globals()
nObj = "360 million";
nStar = "180 million";
nGalaxy = "175 million"; //count from view galaxy
nQuasar = "121,363"; //specclass = 3 or 4
nQuasar = "121,363"; //class = 3 or 4
nSpec = "1,640,960";
nStarSpec = "464,301";
nStarNoSpec = "179 million"; //count from view star
Expand Down

0 comments on commit ae18dcc

Please sign in to comment.