From ae18dcc7c47e41ccf0f0f6c0125fcfb9a7641f21 Mon Sep 17 00:00:00 2001 From: dmedv Date: Fri, 6 Feb 2015 16:49:07 -0500 Subject: [PATCH] 'specClass' changed to 'class' --- en/help/docs/QS_UserGuide.aspx | 2 +- en/help/howto/search/rightsearch.html | 2 +- en/help/howto/search/specobj.html | 2 +- en/proj/basic/scavenger/Explorer.aspx | 2 +- en/proj/basic/scavenger/ObjectTypes.aspx | 2 +- en/proj/challenges/hii/Query.aspx | 2 +- en/proj/teachers/advanced/quasars/Specifics.aspx | 2 +- en/proj/teachers/challenges/hii/Specifics.aspx | 2 +- en/tools/explore/AllSpec.aspx | 4 ++-- en/tools/quicklook/QuickSummary.aspx.cs | 2 +- en/tools/search/form/SearchForm.aspx.cs | 2 +- en/tools/started/SqlSearch.aspx | 2 +- misc/Globals.cs | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/en/help/docs/QS_UserGuide.aspx b/en/help/docs/QS_UserGuide.aspx index 7d74f7e..02280d2 100644 --- a/en/help/docs/QS_UserGuide.aspx +++ b/en/help/docs/QS_UserGuide.aspx @@ -259,7 +259,7 @@ you want returned from your query?

The options are: <% - showEnumQS(oConn, "specClass"); + showEnumQS(oConn, "class"); %>


diff --git a/en/help/howto/search/rightsearch.html b/en/help/howto/search/rightsearch.html index 01f1f02..27fa155 100644 --- a/en/help/howto/search/rightsearch.html +++ b/en/help/howto/search/rightsearch.html @@ -20,7 +20,7 @@

The Right Search

and p.g-p.r < 0
and p.g < 15
and p.r < 15
-and s.specClass = 2

+and s.class = 2

Don't worry, you'll learn what each of these terms means later in the tutorial.

diff --git a/en/help/howto/search/specobj.html b/en/help/howto/search/specobj.html index da198a6..2be31dc 100644 --- a/en/help/howto/search/specobj.html +++ b/en/help/howto/search/specobj.html @@ -44,7 +44,7 @@

SpecObj

error in redshift - specClass + class spectral classification ['GALAXY', 'QSO', or 'STAR'] diff --git a/en/proj/basic/scavenger/Explorer.aspx b/en/proj/basic/scavenger/Explorer.aspx index 104d375..70f272c 100644 --- a/en/proj/basic/scavenger/Explorer.aspx +++ b/en/proj/basic/scavenger/Explorer.aspx @@ -20,7 +20,7 @@ -

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.

+

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.

Click Next to learn about the types of objects you will see.

diff --git a/en/proj/basic/scavenger/ObjectTypes.aspx b/en/proj/basic/scavenger/ObjectTypes.aspx index 95c5689..26cab21 100644 --- a/en/proj/basic/scavenger/ObjectTypes.aspx +++ b/en/proj/basic/scavenger/ObjectTypes.aspx @@ -89,7 +89,7 @@ -

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.

+

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.

diff --git a/en/proj/challenges/hii/Query.aspx b/en/proj/challenges/hii/Query.aspx index f1dbe79..6406c4f 100644 --- a/en/proj/challenges/hii/Query.aspx +++ b/en/proj/challenges/hii/Query.aspx @@ -51,7 +51,7 @@ you are really interested in.

You want to be sure that you are looking at galaxies, not stars or quasars, so include the line:

-

specPhoto.specClass = 2

+

specPhoto.class = 2

To learn how to use SQL, see SkyServer's Searching for Data how-to tutorial. You can find other SQL tutorials diff --git a/en/proj/teachers/advanced/quasars/Specifics.aspx b/en/proj/teachers/advanced/quasars/Specifics.aspx index c4b9cdd..2a5617d 100644 --- a/en/proj/teachers/advanced/quasars/Specifics.aspx +++ b/en/proj/teachers/advanced/quasars/Specifics.aspx @@ -114,7 +114,7 @@ have spectra. It is a lot faster to search a smaller database.

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).

+ are classified as quasars (class = 3).

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. diff --git a/en/proj/teachers/challenges/hii/Specifics.aspx b/en/proj/teachers/challenges/hii/Specifics.aspx index 7c8a1fd..a2013cc 100644 --- a/en/proj/teachers/challenges/hii/Specifics.aspx +++ b/en/proj/teachers/challenges/hii/Specifics.aspx @@ -78,7 +78,7 @@

photoObj, specObj, plate

where

photoObj.objId = specObj.objID AND specObj.plateID = plate.plateID AND - specObj.specClass = 2 and photoObj.u - photoObj.z < 2

+ specObj.class = 2 and photoObj.u - photoObj.z < 2

diff --git a/en/tools/explore/AllSpec.aspx b/en/tools/explore/AllSpec.aspx index 0ac5ffa..fbba6d6 100644 --- a/en/tools/explore/AllSpec.aspx +++ b/en/tools/explore/AllSpec.aspx @@ -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"; @@ -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 "; diff --git a/en/tools/quicklook/QuickSummary.aspx.cs b/en/tools/quicklook/QuickSummary.aspx.cs index f67a57c..da056b0 100644 --- a/en/tools/quicklook/QuickSummary.aspx.cs +++ b/en/tools/quicklook/QuickSummary.aspx.cs @@ -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 diff --git a/en/tools/search/form/SearchForm.aspx.cs b/en/tools/search/form/SearchForm.aspx.cs index a848646..6f63a13 100644 --- a/en/tools/search/form/SearchForm.aspx.cs +++ b/en/tools/search/form/SearchForm.aspx.cs @@ -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) { diff --git a/en/tools/started/SqlSearch.aspx b/en/tools/started/SqlSearch.aspx index fbda45f..e382f14 100644 --- a/en/tools/started/SqlSearch.aspx +++ b/en/tools/started/SqlSearch.aspx @@ -53,7 +53,7 @@ SpecObj s, PhotoObj p, plateX w

where
p.ObjID=s.bestObjID and w.plateID=s.plateID and
- s.z > 4 and s.zConf > 0.95 and s.specClass = 3

+ s.z > 4 and s.zConf > 0.95 and s.class = 3

diff --git a/misc/Globals.cs b/misc/Globals.cs index 675ceda..f529e3f 100644 --- a/misc/Globals.cs +++ b/misc/Globals.cs @@ -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