Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
themeEmacs
>>> import pyvo as vo
>>> import astropy
>>> pos = astropy.coordinates.SkyCoord(264.60510, 82.02125, unit='deg') # search position
>>> size = astropy.coordinates.Angle(0.2, unit='deg') # search radius
>>> scs_service = vo.dal.SCSService('https://data.kasi.re.kr/vo/stardb/NSVS/conesearch/nsvs_conesearch.php')
>>> scs_results = scs_service.search(pos=pos, radius=size)
>>> scs_results
<Table length=14>
unique_id field_name     ra      dec    median_ROTSE_mag mag_scatter ... 2MASS_distance SDSS_id SDSS_distance       GALEX_id      GALEX_distance
                        deg      deg          mag.           mag.    ...                                                                        
  object    object    float64  float64      float32        float32   ...     object      object     object           object           object    
--------- ---------- --------- -------- ---------------- ----------- ... -------------- ------- ------------- ------------------- --------------
     1151       001a  264.6051 82.02125           13.093       0.064 ...          5.909                       6371654668106335077        5.11459
     1277       001a 264.63221 82.07389           11.386       0.025 ...          2.134                       6371654667032595033        2.54214
    25171       001b 264.63345 82.07388            11.36       0.023 ...          2.003                       6371654667032595033        2.31692
  1119964       009d 264.55992 82.03985             15.1       0.174 ...          1.066                                                         
  1119981       009d 264.63075 82.07372           11.309       0.022 ...          3.015                       6371654667032595033        3.45517
  1119995       009d 264.59213 82.02129           13.029       0.043 ...          1.477                       6371654668106335077        1.78075
  1120006       009d 264.77935 82.11691           15.015       0.175 ...          0.884                       6371654667030498301       0.236268
  1120093       009d 264.66477 81.94344           14.603       0.149 ...                                                                        
  1120124       009d 264.61965 81.86993           14.618       0.151 ...          3.621                       6371654667030497215         1.8554
  1120144       009d 264.58116 81.83021           14.342       0.142 ...          1.239                       6371654667030497016        1.81024
  1163808       010a 264.62096 81.86985           14.638       0.142 ...          3.728                       6371654667030497215        2.53741
  1163933       010a 264.66695  81.9436           14.619       0.137 ...                                                                        
  1164010       010a 264.59433  82.0211           13.068       0.048 ...          0.747                       6371654668106335077       0.496495
  1164102       010a 264.63125 82.07371           11.344       0.021 ...          2.924                       6371654667032595033        3.34426
>>> 

Topcat interface

Aladin interface

A well-known tool Aladin (https://aladin.cds.unistra.fr/) also supports SCS query, and it can visualize the query results with other images. When clicking File → Open Server Selector → VO → Generic Cone Search query, the following window appears.

Here, we search the NSVS SCS (https://data.kasi.re.kr/vo/stardb/NSVS/conesearch/nsvs_conesearch.php?) with a search position and radius.

Image Added

Image Added

In the above example, you can see the query results from the NSVS CSC service as well as Pan-STARRS DR1 y-band image together.

Topcat interface

In Topcat (https://www.star.bris.ac.uk/~mbt/topcat/), select Select VO → Cone Search to have the following window. You have to type a valid KASI SCS url as shown below.

Search results will be given in a new table.