Parameter | Definition | Limits or value |
---|---|---|
-vofile=<string> | URL of the VOTable which contains the sources to cross-match | Ex.: http://vo.imcce.fr/webservices/astroid/demo/cg0020_6g1119.cat |
-identSso=<boolean> | Cross-match or not with Sso (1) | 0 | 1 |
-identStars=<boolean> | Cross-match or not with stars (1) | 0 | 1 |
-mime=<string> | Mime type of the results [Optional parameter, default = votable] |
votable | html |
-epoch=<string> | Epoch of the astrometric positions of the sources, expressed in Julian day or formatted as any English textual datetime (1) [Optional parameter, default = now] |
Ex.: now, 2012-04-01T17:18:20, 2456019.13792, ... |
-observer=<string> | Code or geographic coordinates of the observer's location (2) [Optional parameter, default = 500] |
Ex.: 500 (geocenter), 007 (Paris) |
-nccd=<int> | Identifier of the group of sources to cross-match (1) [Optional parameter, default = 1] |
1 ≤ nccd ≤ n |
-qualityRef=<int> | Quality code (0 .. 100) of the sources to cross-match (1) [Optional parameter, default = 100] |
0 ≤ qualityRef ≤ 100 |
-ssoObjectType=<string> | Code to indicate which Sso must be crossed with sources [Optional parameter, default = 110] |
Code composed of 3 integers (0|1) to specify if, respectively, asteroids, planets and comets must be crossed |
-ssoPairingRadius=<double> | Pairing radius of Sso, in degrees (1) [Optional parameter, default = 0.0008 deg] |
Maximum distance between a source and a Sso which validates the pairing of the source with the Sso |
-ssoDegreeOfFreedom=<int> | Degree of freedom of Pierson's test for Sso (1) [Optional parameter, default = 1] |
1 (cross match based on RA and DEC) or 2 (cross match based on RA, DEC and magnitude) |
-ssoPValueThreshold=<int> | P-value threshold of Pierson's test for Sso (1) [Optional parameter, default = 90%] |
0 ≤ P-value ≤ 100 |
-starCatalog=<string> | Catalogue name or number which contains the reference stars (1) [Optional parameter, default = I/315 (UCAC3)] |
Must be a name or a number recognized by VizieR |
-starPairingRadius=<double> | Pairing radius of stars, in degrees (1) [Optional parameter, default = 0.2 deg] |
Maximum distance between a source and a star which validates the pairing of the source with the star |
-starDegreeOfFreedom=<int> | Degree of freedom of Pierson's test for stars (1) [Optional parameter, default = 1] |
1 (cross match based on RA and DEC) or 2 (cross match based on RA, DEC and magnitude) |
-starPValueThreshold=<int> | P-value threshold of Pierson's test for stars (1) [Optional parameter, default = 95%] |
0 ≤ P-value ≤ 100 |
-starPosError=<double> | Standard astrometric position accuracy of reference stars, in arcsec (1) [Optional parameter, default = 0.2 arcsec] |
To be used if the star position accuracy is not provided by the catalogue (e.g. ucd='stat.error.sys') |
-starMagError=<double> | Standard magnitude accuracy of reference stars, in magnitude (1) [Optional parameter, default = 0.5 mag] |
To be used if the star magnitude accuracy is not provided by the catalogue (e.g. ucd='stat.stdev;em.opt.v') |
-from=<string> | Word which definite the name of the caller application, or which describes the request | Any short string (without space) |
The output parameters are described in the following table and are available in VOTable (default) or HTML format (cf. examples). Some parameters are optionnal, and their values can be omitted (just left blank the value). The inputs without default value are mandatory.
Variable | Type | Units | Limits or values | Default | Comment |
---|---|---|---|---|---|
vofile | string | - | - | none | URL of the VOTable which contains the sources to cross-match (1) |
identSso | boolean | - | 0 | 1 | none | Cross-match or not with Sso (1) |
identStars | boolean | - | 0 | 1 | none | Cross-match or not with stars (1) |
mime | string | - | votable | html | votable | Mime type of the results |
epoch | double | julian day | 2086308.0 .. 2816788.0 1000-01-01 12h .. 3000-01-01 12h |
none | Epoch of the astrometric position of sources |
observer | string | - | Code (IAU or special) or geographic coordinates of the observer's location | 500 | IAU codes of observatories; Geographic coordinates must be expressed in degrees (longitude, latitude) and meters (altitude) (1) |
nccd | int | - | 1 ≤ nbd ≤ n | 1 | Identifier of the group of sources to cross-match (1) |
qualityRef | int | - | 0 ≤ qualityRef ≤ 100 | 100 | Quality code (0 .. 100) of the sources to cross-match (1) |
ssoObjectType | string | - | 100 | 010 | 001 | 110 | 101 | 011 | 111 | 110 | Code to indicate which Sso must be cross-matched, respectively asteroids, planets and comets |
ssoPairingRadius | double | degrees | 0.0008 deg. | Pairing radius of Sso, in degrees (1) | |
ssoDegreeOfFreedom | int | - | 1 | 2 | 1 | Degree of freedom of Pierson's test for Sso (1) |
ssoPValueThreshold | int | - | 0 ≤ qualityRef ≤ 100 | 90 | P-value threshold of Pierson's test for Sso (1) |
starCatalogue | string | - | VizieR code | I/315 | Catalogue name or number which contains the reference stars (1) |
starPairingRadius | double | degrees | 0.2 deg. | Pairing radius of stars, in degrees (1) | |
starDegreeOfFreedom | int | - | 1 | 2 | 1 | Degree of freedom of Pierson's test for stars (1) |
starPValueThreshold | int | - | 0 ≤ qualityRef ≤ 100 | 95 | P-value threshold of Pierson's test for stars (1) |
starPosError | double | arcsec | 0.2 arcsec | Standard astrometric position accuracy of reference stars, in arcsec (1) | |
starMagError | double | mag | 0.5 mag | Standard magnitude accuracy of reference stars, in magnitude (1) |
The output parameters of the method is an object containing
the following attributes:
In order to help you to invoke the AstroId web service, we provide some clients written in differents languages. Here are some detailed explanations to see how to write a client with PHP and SOAP which invokes the xmatch method:
1/ Provide the input parameters which are mandatory for the service:
2/ Define the SOAP options, the namespace and the WSDL URI of Miriade web service:
3/ Create a SoapClient object in WSDL mode, set the SOAP header, then call the method and catch exceptions: