OITools V2

This page gathers the enhancements on the JMMC OITools library focused on the OIFITS data handling.

Its main features are:

  • read / write OIFITS files (V1 + extensions OImaging)
  • read / write FITS image(s) (primary HDU, extra Image HDU)
  • data model description: meta-data for keywords, columns, tables
  • in-memory data structures to deal with tables (columns, keywords) and derived columns (hard-coded & expression support)
  • validation (command-line interface + web interface)
  • serialization in TSV / XML formats (used by oidb)

Enhancements

Tests

TODO: describe the JUnit tests + file structure

  • Copy files
    • Load & write reference OIFits files
    • README on the file OIFits for explain the choose
    • Creating file for a fits file V1
    • Compare the OIFitsFile structures (all tables, all keywords, all columns, headercards)
    • Compare the nom.tam.Fits (raw HDUs): TODO: fix comparisons

TODO

  • For save a lot of value we have getter but no setter, we will do getter and setter for a lot of value
  • OIFitsFile => FitsImages add to creating file
  • look and test the checker/verification file
  • Generalize the min and max method
  • Generalize the DevColunm for all types

Setters API

To easily fill tables (keywords, columns), a simple setter API will be implemented:

/**
* Define the column value for the given row (index)
*/
(OITable).setColumn(int row, (Type) value)

/**
* Define all column values for the given row (index)
*/
(OITable).setRow(int row, values...)

-- LaurentBourges - 11 Jul 2017

Edit | Attach | Watch | Print version | History: r32 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2017-07-12 - CharleenKemps
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback