EleFits
4.0.1
A modern C++ API on top of CFitsIO
|
Classes to represent the data stored in a Fits file.
Data classes represent the data which can be read or written in a Fits file. They are split into header, image, and binary table data classes.
As a spoiler, here is a simplified class diagram:
Record
is a very basic template structure which holds the following four fields:
keyword
,value
,unit
,comment
.Its template parameter is the type of the value.
Raster
s are the in-memory representation of the n-D arrays of Fits. A raster has:
Position
, which is just an alias of std::array
or std::vector
),std::vector
.Column
s represent the contents of the data unit of binary table HDUs. They are made of two components:
ColumnInfo
instance,In order to accommodate whatever-you-want kind of data container, Column
is an abstract class whose only assumption is that elements are contiguous in memory, so that you just need to provide a raw pointer to the first element of the column.
Modules | |
Header data classes | |
Classes to manipulate the data stored header units. | |
Image data classes | |
Image data containers and tools. | |
Binary table data classes | |
Binary table data containers and tools. | |
Classes | |
struct | Euclid::Fits::Named< T > |
A name and type. More... | |
struct | Euclid::Fits::Indexed< T > |
An index and type. More... | |