Skip to content

Commit a7ed9f2

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
EUCLIDSWRQ-250 Review documentation
1 parent fbc13c9 commit a7ed9f2

1 file changed

Lines changed: 24 additions & 17 deletions

File tree

astroquery/esa/euclid/core.py

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,27 +1519,32 @@ def __is_multiple(self, value):
15191519
def get_sia(self, *, coordinates, radius=1.0, search_type='CIRCLE', calibration=2, instrument='ALL', band=None,
15201520
collection='sedm', dsr_part1=None, dsr_part2=None, dsr_part3=None, output_file=None, verbose=False):
15211521
"""
1522-
Access the Euclid Observation Images by VO SIAP v2.0. This service will return public images from Calibrated
1523-
and Stacked NISP and VIS images, MER Mosaics from VIS and NISP and Level 1 (RAW) images for NISP and VIS
1522+
Query the Euclid Observation Images service through the IVOA SIAP 2.0 interface. The service provides access to
1523+
public calibrated and stacked VIS and NISP images, MER mosaics, and Level 1 (raw) VIS and NISP observations.
15241524
15251525
Parameters
15261526
----------
15271527
coordinates: str or SkyCoord, mandatory, default None
1528-
coordinates of the center in the cone search
1529-
radius: float or quantity, optional, default value 1 degree
1530-
radius in degrees for (int, float) or quantity of the cone_search
1531-
search_type : str, mandatory, default CIRCLE
1532-
search region: CIRCLE or BOX
1528+
Center of the search region.
1529+
radius: float or quantity, optional, default value 1.0 degree
1530+
Radius of the search region. If a numeric value is provided, it is interpreted in degrees. An
1531+
astropy.units.Quantity may also be supplied. If "BOX" uses this value as half-width or width
1532+
search_type : str, optional, default CIRCLE
1533+
Shape of the search region. Supported values are "CIRCLE" and "BOX".
15331534
calibration: int, optional, default 2
1534-
calibration level according to ObsCore VO standard: 0 (raw instrumental data), 1 (instrumental data in a
1535-
standard format), 2 (science ready data) or 3 (enhanced data products).
1536-
instrument: str, mandatory, default ALL
1537-
instrument name: ALL, VIS or NISP
1535+
Calibration level following the ObsCore data model:
1536+
0: raw instrumental data
1537+
1: instrumental data in a standard format
1538+
2: science-ready data
1539+
3: enhanced data products
1540+
instrument: str, optional, default ALL
1541+
Instrument to query. Supported values are "ALL", "VIS", and "NISP".
15381542
band: str, optional, default None
1539-
filter name only valid if instrument is different from ALL: VIS for instrument VIS or NIR_H, NIR_J, NIR_Y
1540-
or NISP for instrument NISP
1541-
collection : str, mandatory, default sedm
1542-
the name of the data collection
1543+
Filter name. This parameter is ignored when instrument="ALL". Valid values are:
1544+
0: "VIS" for the VIS instrument
1545+
1: "NIR_Y", "NIR_J", "NIR_H", or "NISP" for the NISP instrument
1546+
collection : str, optional, default sedm
1547+
Name of the data collection.
15431548
dsr_part1: str, optional, default None
15441549
the data set release part 1: for OTF environment, the activity code; for REG and IDR, the target environment
15451550
dsr_part2: str, optional, default None
@@ -1548,13 +1553,15 @@ def get_sia(self, *, coordinates, radius=1.0, search_type='CIRCLE', calibration=
15481553
dsr_part3: str, optional, default None
15491554
the data set release part 3: for OTF, REG and IDR environment, the version (an integer greater than 1)
15501555
output_file : string, optional, default None
1551-
file where the results are saved.
1556+
Path of the output file. If provided, the query results are written to this file.
15521557
verbose : bool, optional, default 'False'
15531558
flag to display information about the process
15541559
15551560
Returns
15561561
-------
1557-
An astropy.table or a votable file
1562+
astropy.table.Table or str
1563+
Query results as an `astropy.table.Table`. If `output_file` is
1564+
specified, the results are also written as a VOTable to the given file.
15581565
"""
15591566

15601567
valid_search_types = {'CIRCLE', 'BOX'}

0 commit comments

Comments
 (0)