@@ -13,18 +13,14 @@ This module allows searching catalogs and retrieving images from the UKIDSS web
1313service. Some data can on UKIDSS can be accessed only after a valid login. For
1414accessing such data a UKIDSS object must first be instantiated with valid
1515credentials. On the other hand, to access the public data, the various query
16- functions may just be called as class methods - i.e. no instantiation is
17- required. Below are examples that illustrate both the means for accessing the
18- data.
16+ functions may just be called without logging in. Below are examples that
17+ illustrate both the means for accessing the data.
1918
2019**Case 1 : Access only public data - No login **
2120
2221.. code-block :: python
2322
2423 >> > from astroquery.ukidss import Ukidss
25-
26- # perform any query as a class method - no instantiation required
27-
2824 >> > images = Ukidss.get_images(" m1" )
2925
3026 Found 1 targets
3834
3935 >> > from astroquery.ukidss import Ukidss
4036
41- # Now first instantiate a Ukidss object with login credentials
37+ # Now first instantiate a new Ukidss object with login credentials
4238
4339 >> > u_obj = Ukidss(username = ' xyz' , password = ' secret' , # doctest: +SKIP
4440 ... community = ' your_community' ) # doctest: +SKIP
4844
4945 Note that at login time you may also optionally set the database and the survey
5046that you would like to query. By default the database is set to 'UKIDSSDR7PLUS'
51- and the ``programme_id `` is set to 'all' - which includes all the surveys. A word
52- of warning - for region queries you should explicitly set the
47+ and the ``programme_id `` is set to 'all' - which includes all the surveys. A
48+ word of warning - for region queries you should explicitly set the
5349``programme_id `` to the survey you wish to query. Querying all surveys is
5450permitted only for image queries.
5551
0 commit comments