tcopy usage scenarios - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

tcopy usage scenarios

Description:

STILTS – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 23
Provided by: ivoa
Category:

less

Transcript and Presenter's Notes

Title: tcopy usage scenarios


1
(No Transcript)
2
(No Transcript)
3
(No Transcript)
4
tcopy usage scenarios
Interoperability!
  • The VO is a heterogeneous environment
  • Convert from legacy formats to FITS/VOTable
  • Adapt VOTable data to formats suitable for legacy
    tools
  • Populate SQL databases from FITS files
  • ... or vice versa
  • Provide choice of output format for table query
    output
  • put tcopy as a layer between standard output and
    what gets delivered to the user
  • easy to write an HTML form providing output
    format options
  • or a web service parameter naming chosen format

5
(No Transcript)
6
tpipe expression language
  • Algebraic expressions in terms of existing
    columns
  • Used for row selection, defining new synthetic
    columns
  • Refer to existing columns by column name or index
  • Normal arithmetic/relational operators plus
    useful functions
  • trigonometry, string handling, coordinate
    conversion, conditionals, ...
  • Null value handling supported
  • Compiled to Java bytecode at runtime (uses JEL)
  • Fast execution
  • Full power of Java language
  • Extensible by supplying own classes at runtime

7
tpipe examples
  • Display first few rows of table
  • tpipe survey1.xml -head 5
  • Select rows on algebraic expression
  • tpipe cat.fits -select 'BMAG lt 21.2
    startsWith(NAME,cyg)'
  • -write catsub.fits
  • Add new calculated columns
  • tpipe -ifmt csv data.csv
  • -addcol MAG_MEAN 0.5 (IMAG VMAG)
  • -addcol IV_COLOUR VMAG - IMAG
  • Convert columns from sexagesimal to degrees
  • tpipe -ifmt csv acat.csv
  • -addcol RA 'radiansToDegrees(hmsToRadians(
    1,2,3))'
  • -addcol DEC 'radiansToDegrees(dmsToRadians(
    4,5,6))'
  • -delcols '1,2,3,4,5,6'
  • Calculate and display statistics on sample of
    large table
  • tpipe USNO-B.FITS
  • -every 1000000
  • -stats
  • Display the thousand highest redshifts in TOPCAT

8
tmatch
  • ... maybe one day

9
(No Transcript)
10
TOPCAT VO features
  • Load/Save dialogues
  • Filestore browser
  • Cone search
  • SIAP query
  • Registry query
  • Activation actions
  • Display images/spectra corresponding to table rows

11
Filestore Browser
  • Looks like standard file chooser
  • Remote filespaces are available in the same way
    as local filesystem
  • Log in/out to view remote filespaces
  • Both load and save are available
  • Pluggable framework for filespace implementations
  • Currently MySpace and SRB supported
  • Not hard to add new ones
  • Available as separate library component for use
    in other applications

12
(No Transcript)
13
Activation actions
  • Can configure some action when table row is
    activated
  • Activation performed by
  • clicking on row in table display
  • clicking on point in plot
  • Actions include
  • display cutout image from service (SoG)
  • display spectrum from service (SPLAT)
  • ... or anything you like

14
(No Transcript)
15
Starlink SPLAT for the VO
16
SPLAT features
  • Not just a VO client, also an analysis tool with
    extensive graphics features, printing, zooming,
    scrolling etc.
  • Source code available under GPL.
  • Available as a desktop or webstart application
    (Linux, Windows, Mac OS X and Solaris).
  • http//www.starlink.ac.uk/splat-vo

17
New SSAP Browser
  • Various interactive features object name lookup,
    RA and Dec in natural units (hh/dddmmss.s).
    Simple double click to load a spectrum.

18
Double click download
19
Starlink AST
  • All coordinate and units transforms provided by
    AST.
  • Spectral coordinates cover FITS-WCS paper III
  • Wavelength, Frequency, Energy and Velocity
  • Flux units, based only on interpretation of
    standard FITS-WCS paper I descriptions
  • Jy, W/m2/Hz, W/m2/Angstrom, W/cm2/um,
    erg/cm2/s/Hz, erg/cm2/s/Angstrom

20
Composite plot of VO data
21
3C273 all frequencies
22
Summary
  • STILTS
  • tcopy - table format conversion
  • tpipe - table pipeline processor
  • TOPCAT VO features
  • local/remote filestore browser
  • passable SIAP/Cone search service client
  • SPLAT-VO
  • Spectral analysis program, SSAP client,
    sophisticated coordinate handling
  • Other items not mentioned here
  • The future is uncertain...
Write a Comment
User Comments (0)
About PowerShow.com