Sdss Tools

Configuration File: sdss_tools.json Tool Type: Local Tools Count: 1

This page contains all tools defined in the sdss_tools.json configuration file.

Available Tools

SDSS_sql_search (Type: BaseRESTTool)

Query the Sloan Digital Sky Survey (SDSS) Data Release 18 database using SQL. SDSS is one of the …

SDSS_sql_search tool specification

Tool Information:

  • Name: SDSS_sql_search

  • Type: BaseRESTTool

  • Description: Query the Sloan Digital Sky Survey (SDSS) Data Release 18 database using SQL. SDSS is one of the most comprehensive astronomical surveys, imaging 1/3 of the sky with data on 500 million objects. Key tables: PhotoObjAll (photometric objects: galaxies, stars, quasars), SpecObj (spectroscopic objects with redshifts and classifications), PhotoPrimary (unique photometric sources). Key columns: ra, dec (coordinates), objid (unique ID), z (redshift for SpecObj), class (STAR/GALAXY/QSO), u/g/r/i/z (magnitudes in 5 photometric bands). Use SQL TOP N for limiting results.

Parameters:

  • cmd (string) (required) SQL query against the SDSS DR18 database. Examples: ‘SELECT TOP 10 objid,ra,dec,r FROM PhotoObjAll WHERE ra BETWEEN 180 AND 181 AND dec BETWEEN 0 AND 1’, ‘SELECT TOP 5 specObjID,ra,dec,z,class FROM SpecObj WHERE class='GALAXY' AND z BETWEEN 0.1 AND 0.2’, ‘SELECT TOP 5 objid,ra,dec,g,r,i FROM PhotoPrimary WHERE g < 18 ORDER BY g’

Example Usage:

query = {
    "name": "SDSS_sql_search",
    "arguments": {
        "cmd": "example_value"
    }
}
result = tu.run(query)