|
| zofits (uint32_t numTiles=DefaultMaxNumTiles(), uint32_t rowPerTile=DefaultNumRowsPerTile(), uint32_t maxUsableMem=DefaultMaxMemory()) |
|
| zofits (const char *fname, uint32_t numTiles=DefaultMaxNumTiles(), uint32_t rowPerTile=DefaultNumRowsPerTile(), uint32_t maxUsableMem=DefaultMaxMemory()) |
|
| zofits (const std::string &fname, uint32_t numTiles=DefaultMaxNumTiles(), uint32_t rowPerTile=DefaultNumRowsPerTile(), uint32_t maxUsableMem=DefaultMaxMemory()) |
|
void | InitMemberVariables (const uint32_t nt=0, const uint32_t rpt=0, const uint64_t maxUsableMem=0) |
|
virtual bool | WriteTableHeader (const char *name="DATA") |
|
void | open (const char *filename, bool addEXTNAMEKey=true) |
|
void | open (const std::string &filename, bool addEXTNAMEKey=true) |
|
virtual bool | WriteDrsOffsetsTable () |
|
uint32_t | GetBytesPerRow () const |
|
bool | WriteCatalog () |
|
virtual void | DrsOffsetCalibrate (char *) |
| Applies the DrsOffsets calibration to the data. Does nothing as zofits knows nothing about drsoffsets. More...
|
|
CatalogRow & | AddOneCatalogRow () |
|
bool | WriteRow (const void *ptr, size_t cnt, bool=true) |
|
void | FlushNumRows () |
| update the real number of rows More...
|
|
CompressionTarget | InitNextCompression () |
|
uint32_t | ShrinkCatalog () |
| Shrinks a catalog that is too long to fit into the reserved space at the beginning of the file. More...
|
|
bool | close () |
|
bool | AddColumn (uint32_t cnt, char typechar, const std::string &name, const std::string &unit, const std::string &comment="", bool addHeaderKeys=true) |
| Overload of the ofits method. Just calls the zofits specific one with default, uncompressed options for this column. More...
|
|
bool | AddColumn (const FITS::Compression &comp, uint32_t cnt, char typechar, const std::string &name, const std::string &unit, const std::string &comment="", bool addHeaderKeys=true) |
| Overload of the simplified compressed version. More...
|
|
int32_t | GetNumThreads () const |
| Get and set the actual number of threads for this object. More...
|
|
bool | SetNumThreads (uint32_t num) |
|
uint32_t | GetNumTiles () const |
|
void | SetNumTiles (uint32_t num) |
|
| ofits () |
|
| ofits (const char *fname) |
|
virtual | ~ofits () |
|
bool | is_open () |
|
bool | is_open () const |
|
void | AllowCommentsTrimming (bool allow) |
|
bool | SetKeyComment (const std::string &key, const std::string &comment) |
|
bool | CopyKeys (const fits &fin, bool update=false) |
|
bool | SetRaw (const std::string &key, const std::string &val, const std::string &comment) |
|
bool | SetBool (const std::string &key, bool b, const std::string &comment="") |
|
bool | AddEmpty (const std::string &key, const std::string &comment="") |
|
bool | SetStr (const std::string &key, std::string s, const std::string &comment="") |
|
bool | SetInt (const std::string &key, int64_t i, const std::string &comment="") |
|
bool | SetFloat (const std::string &key, double f, int p, const std::string &comment="") |
|
bool | SetFloat (const std::string &key, double f, const std::string &comment="") |
|
bool | SetHex (const std::string &key, uint64_t i, const std::string &comment="") |
|
bool | AddComment (const std::string &comment) |
|
bool | AddHistory (const std::string &comment) |
|
void | End () |
|
bool | AddColumnShort (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnInt (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnLong (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnFloat (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnDouble (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnChar (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnByte (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnBool (uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnShort (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnInt (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnLong (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnFloat (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnDouble (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnChar (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnByte (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnBool (const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnShort (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnInt (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnLong (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnFloat (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnDouble (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnChar (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnByte (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnBool (const FITS::Compression &comp, uint32_t cnt, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnShort (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnInt (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnLong (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnFloat (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnDouble (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnChar (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnByte (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
bool | AddColumnBool (const FITS::Compression &comp, const std::string &name, const std::string &unit="", const std::string &comment="") |
|
Checksum | WriteHeader (std::ostream &fout) |
|
Checksum | WriteHeader () |
|
void | FlushHeader () |
|
Checksum | WriteFitsHeader () |
|
template<size_t N> |
void | revcpy (char *dest, const char *src, int num) |
|
template<typename N > |
bool | WriteRow (const std::vector< N > &vec) |
|
size_t | GetNumRows () const |
|
void | AlignTo2880Bytes () |
|
Checksum | UpdateHeaderChecksum () |
|
std::pair< std::string, int > | GetChecksumData () |
|
void | SetDefaultKeys () |
|