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