Developer Infrastructure: Table and Image Package tip, Science Tools Application st_app PowerPoint PPT Presentation

presentation player overlay
1 / 8
About This Presentation
Transcript and Presenter's Notes

Title: Developer Infrastructure: Table and Image Package tip, Science Tools Application st_app


1
Developer InfrastructureTable and Image Package
(tip),Science Tools Application (st_app)
  • James Peachey, HEASARC

2
What is TIP?
  • File-format independent (FITS, Root)
  • STL friendly, row oriented (iterators, functors,
    selection of fields)
  • Table access
  • Image access

3
Tabular Data Extension
Header Keyword 1 Value1 Keyword 2 Value
2 ... Keyword K Value K
4
TIP Table Main Classes
Header void getKeyword(T ) const void
setKeyword(const T )
Extension Header getHeader()
Table Iterator begin() Iterator end()
5
Client Code
  • http//www-glast.slac.stanford.edu/software/scienc
    etools/development
  • Click frame/non frame -gt Doxygen for tip
  • See examples drawn from tips sample.cxx program.
  • Highlights
  • Factory class for creating Tables
  • Keyword read access
  • Table cell read access
  • Keyword and cell modify access

6
How Does TableIterator Work?
  • Dereferences to TableRecord type
  • TableRecord has a collection of TableCell
    objects
  • Client determines which cells are used in
    computation
  • TableCell objects query the table for each value

7
Status of TIP
Working
Needs Work
  • FITS table cell r/w
  • Root TTree cell r/w
  • FITS keyword r/w
  • Table data lookup by name
  • Bidirectional iterator
  • Image handling
  • Root keywords?
  • Details such as null values, units etc.
  • Read-only table access
  • Browsable tables
  • Support for functors and random access iterators
  • File creation (done)
  • Memory resident Tables
  • Adding fields (columns)

8
What is st_app?
  • Standard main and lightweight support for
    application development
  • A place where global application features can be
    added/changed without changing individual
    applications
  • Top-level rationalized exception handling
  • http//www-glast.slac.stanford.edu/software/scienc
    etools/development
  • Click frame/non-frame -gt Doxygen for st_app
Write a Comment
User Comments (0)
About PowerShow.com