Aladin V 3 script mode for the VO

  • Slides: 13
Download presentation
Aladin V 3 script mode for the VO F. Ochsenbein, P. Fernique [CDS]

Aladin V 3 script mode for the VO F. Ochsenbein, P. Fernique [CDS]

Why a script mode ? n n An alternative to the graphical interface (ASCII

Why a script mode ? n n An alternative to the graphical interface (ASCII console) A way to let other applications control Aladin : u For specifying the starting state (applet context) u For interfacing with other applications (VOPlot) u For using Aladin as a "black-box" producing charts, images, postage stamp images. . . F. Ochsenbein, P. Fernique [CDS]

A script example step by step… In line help Console Command > ? F.

A script example step by step… In line help Console Command > ? F. Ochsenbein, P. Fernique [CDS]

A generic get command. . Command> ? get DSS. ESO(DSS 2) NGC 1055; get

A generic get command. . Command> ? get DSS. ESO(DSS 2) NGC 1055; get Vizie. R(USNO-B 1) NGC 1055; get SDSSDR 3 cat NGC 1055 10'; - give access to all VO resource (via GLU registry) - manage query parameters F. Ochsenbein, P. Fernique [CDS]

Processing commands… Command> ? xmatch USNO-B 1 SDSS; export XMatch* votable. Result. xml votable;

Processing commands… Command> ? xmatch USNO-B 1 SDSS; export XMatch* votable. Result. xml votable; - Cross. Match by position - Save result in VOTable F. Ochsenbein, P. Fernique [CDS]

UCD manipulations… Command> ? filter pm { draw pm($[POS_EQ_PMRA], $[POS_EQ_PMDEC]) }; save image. Result.

UCD manipulations… Command> ? filter pm { draw pm($[POS_EQ_PMRA], $[POS_EQ_PMDEC]) }; save image. Result. bmp; - Draw arrows proportional to Xmatched object proper motion - Save image and overlays F. Ochsenbein, P. Fernique [CDS]

Multiview comparison… filter brighter { $[PHOT*]< 17 mag && (abs($[POS_EQ_PMRA])>3 || abs($[POS_EQ_PMDEC])>3) { draw

Multiview comparison… filter brighter { $[PHOT*]< 17 mag && (abs($[POS_EQ_PMRA])>3 || abs($[POS_EQ_PMDEC])>3) { draw } }; select A 1 XMatch*; create. ROI 45"; modeview 9; - Extract small images of selected objects - Compare them with multiview mode F. Ochsenbein, P. Fernique [CDS]

Scripts in Web context http: //nedwww. ipac. caltech. edu/cgi-bin/Aladin/nphaladin. pl? script=get+My. Data(http: //nedwww. ipac.

Scripts in Web context http: //nedwww. ipac. caltech. edu/cgi-bin/Aladin/nphaladin. pl? script=get+My. Data(http: //nedwww. ipac. caltech. edu/dss 1 B 2/Bb/MESSIER_104. I. IIIa. J. dss 1. fits. gz); sync; get+NED; get+Vizie. R(USNO 2); get+Vizie. R(2 MASS); get+Vizie. R(NVSS) F. Ochsenbein, P. Fernique [CDS]

Sites using Aladin scripts F. Ochsenbein, P. Fernique [CDS]

Sites using Aladin scripts F. Ochsenbein, P. Fernique [CDS]

F. Ochsenbein, P. Fernique [CDS]

F. Ochsenbein, P. Fernique [CDS]

Aladin as a remote black-box engine Existing implementation: the Aladin RGB generator: u Aladin

Aladin as a remote black-box engine Existing implementation: the Aladin RGB generator: u Aladin sessions are launched on a remote cluster of PCs t Inputs : script commands t Output : RGB JPEG image n Could be integrated in a workflow n F. Ochsenbein, P. Fernique [CDS]

The demo in live http: //vizier. nao. ac. jp/viz-bin/nph-aladin. pl? frame=launching&script=get%20 DSS. ESO%28 DSS

The demo in live http: //vizier. nao. ac. jp/viz-bin/nph-aladin. pl? frame=launching&script=get%20 DSS. ESO%28 DSS 2%29%20 NGC 1055%3 bget%20 Vizie. R%28 USNOB 1%29%20 NGC 1055%3 bget%20 SDSSDR 3 cat%20 NGC 1055%2010'%3 bsync%3 bxmatch%20 USNO-B 1%20 SDSS%3 bhide%20 USNOB 1%20 SDSS%3 bpause%206%3 bfilter%20 pm%20%7 b%20 draw%20 pm%28%24%5 b. POS_EQ_PMRA%5 d%2 c%20%24%5 b. POS_EQ_PMDEC%5 d%29%20%7 d%3 bfilter%20 p m%20 on%3 bpause%206%3 bfilter%20 pm%20 off%3 bfilter%20 brighter%20%7 b%20%24%5 b. PHOT%2 a%5 d%3 c%2017 mag%20%26%26%20%28 abs%28%24%5 b. POS_EQ_PM RA%5 d%29%3 e 3%20%7 c%7 c%20 abs%28%24%5 b. POS_EQ_PMDEC%5 d%29%3 e 3%29%20%7 b%20 draw%20%7 d%3 bfilter%20 brighter%20 on%3 bsync%3 bmodevie w%209%3 bselect%20 A 1%20 XMatch%2 a%3 bcreate. ROI%2045%22%3 b F. Ochsenbein, P. Fernique [CDS]

Some links Aladin site: http: //aladin. u-strasbg. fr n Aladin form for script launching

Some links Aladin site: http: //aladin. u-strasbg. fr n Aladin form for script launching URL edition: http: //aladin. u-strasbg. fr/java/nphaladin. pl? frame=form n Manual: http: //aladin. ustrasbg. fr/java/aladin. pdf n F. Ochsenbein, P. Fernique [CDS]