![Page 1: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/1.jpg)
Integrating Existing Software Toolkits into VO System
Chenzhou Cui, Yongheng Zhao, Xiaoqian Wang, Jian Sang
National Astronomical Observatory of China
Ze LuoComputer Network Information Center, CAS
Chinese Virtual Observatory
![Page 2: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/2.jpg)
2004-6-25SPIE 2004, Glasgow 2
Existing Software Resources
Software Packages, Toolkits, Libraries– Astronomical Utilities – Image Manipulation – Math and Statistics– Plotting
Comprehensive data processing environments– IRAF– MIDAS– AIPS/AIPS++
TDC (http://tdc-ww.harvard.edu/astro.software.html)ASDS (http://asds.stsci.edu/ )
![Page 3: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/3.jpg)
2004-6-25SPIE 2004, Glasgow 3
Astronomical Utilities
• Coordinate conversion– equatorial (RA, Dec) to horizon (alt, azimuth) co
ordinates • Date conversion
– calendar date to Julian Date• Units conversion
– Magnitude to flux,,,• Ephemeris calculation
– Sun set/rise, eclipse
![Page 4: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/4.jpg)
2004-6-25SPIE 2004, Glasgow 4
Image Manipulation
• Format conversion– Jpg, gif, tiff,fits,…
• Image edit– Rotate, resize, filter,…
• Image correlation, image aligning,mosaics• FITS image manipulation
– (C)FITSIO
![Page 5: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/5.jpg)
2004-6-25SPIE 2004, Glasgow 5
Math and Statistics
Data analysis – simple math operations– differentiating– integrating– statistics– Fast Fourier Transform
(FFT)– (de)convolution– data smoothing– data filtering– Peak picking– data sorting
Curve fitting– linear fitting– nonlinear fitting
![Page 6: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/6.jpg)
2004-6-25SPIE 2004, Glasgow 6
Plotting
• 1D– spectrum, time series, …
• 2D– Line, Scatter, bar, column, pie, …– histogram, polar, vector,…
• 3D– bar, scatter, surface, contour, …
![Page 7: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/7.jpg)
2004-6-25SPIE 2004, Glasgow 7
Issues
• Application is crucial for VO – Extensively applications are key criteria to
measure the success of VO– Software has been an essential part in
`doing astronomy‘
• Scratching or inheriting?– New infrastructure and new tools are
necessary– Reuse of existing resources is also
necessaryVO Integration
![Page 8: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/8.jpg)
2004-6-25SPIE 2004, Glasgow 8
General Integrating Approaches
Java-readyrewritingwrapping
China-VO view:
VO is an advanced application of the GRIDGrid-ready
VO-ready
Existing Applications
![Page 9: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/9.jpg)
2004-6-25SPIE 2004, Glasgow 9
Two Integration Tactics
• Specific Tactics– to integrate existing software one by one – high quality
• Problem-Solving Environments – a fully or semi automatic solution for the
wrapping of legacy codes – JACAW, GAT, GAF4J, JCI , CEA– high efficiency
![Page 10: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/10.jpg)
2004-6-25SPIE 2004, Glasgow 10
Two integration efforts from China-VO
• A consortium initiated by National Astronomical Observatory of China
• Still in early research phase • Focuses on application and implementation• Act as a bridge between IVO and its end-users• Provide some best practices for the IVO
• gImageMagick, grid-enabled ImageMagick• Grid Environment for Galactic abundance gradient
s Statistical Research
![Page 11: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/11.jpg)
2004-6-25SPIE 2004, Glasgow 11
gImageMagick
ImageMagick• An open-source but robust collection of tools and l
ibraries to read, write, and manipulate an image
• Good candidate for integration – Useful function features for VO visualization– Good CLI– Multi OS support– Friendly APIs in many programming languages
![Page 12: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/12.jpg)
2004-6-25SPIE 2004, Glasgow 12
gImageMagick
![Page 13: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/13.jpg)
2004-6-25SPIE 2004, Glasgow 13
VO extension for gImageMagick
• IVOA interfaces support– SIAP– VOResource
• Well-packaged, easy of installation and easy of use• Providing G/W Service interface for standard Imag
eMagick installation (RPM, gz)
• http://services.china-vo.org• IVOA applications mailing list: “[email protected]”
![Page 14: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/14.jpg)
2004-6-25SPIE 2004, Glasgow 14
Grid Environment for Galactic abundance gradients Statistical Research
Dynamic Data(X,Y,Z,U,V,W)
Galactic Mass Distribution Model
Orbit Parameters(Rmax, Zmax)
Stellar Abundances[M/H]
Abundance Gradient
![Page 15: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/15.jpg)
2004-6-25SPIE 2004, Glasgow 15
Grid Environment for Galactic abundance gradients Statistical Research
![Page 16: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/16.jpg)
2004-6-25SPIE 2004, Glasgow 16
VO Integration
• VO services:– not defined clearly– Compliant to IVOA specifications– Standard Interfaces
• The role of common application environments
• What application is good candidate for VO services?
IRAF, MIDAS, AIPS, …need heavy user interactionalmost impossible for integration
the more simple I/O and simple user interfacethe more easier to integrate
![Page 17: Integrating Existing Software Toolkits into VO System](https://reader036.vdocuments.us/reader036/viewer/2022062407/56812ced550346895d91b42e/html5/thumbnails/17.jpg)
2004-6-25SPIE 2004, Glasgow 17
Q & A
?www. .org
Thank You