|
ifw-daq 3.1.0
IFW Data Acquisition modules
|
Contains definitions for daq/fits/cfitsio.hpp. More...
#include <daq/fits/cfitsio.hpp>#include <cassert>#include <ostream>#include <fmt/format.h>#include <fmt/ostream.h>Go to the source code of this file.
Namespaces | |
| namespace | daq |
| namespace | daq::fits |
Functions | |
| std::ostream & | daq::fits::operator<< (std::ostream &os, HduType hdu_type) |
| Format HduType hdu_type to os. | |
| void | daq::fits::SelectHduNum (fitsfile *ptr, int hdu_num) |
| Select current HDU number. | |
| void | daq::fits::DefaultClose (fitsfile *ptr) noexcept |
| Default close function that is used by UniqueFitsFile as a deleter. | |
| void | daq::fits::InitPrimaryHduEmpty (fitsfile *ptr) |
| Initializes an empty FITS file with an empty primary HDU (no keywords) | |
| void | daq::fits::InitPrimaryHduNoImage (fitsfile *ptr) |
| Initializes an empty FITS file with a primary HDU. | |
| UniqueFitsFile | daq::fits::CreateEmpty (char const *filename) |
Creates empty FITS file using fits_create_file and returns a pointer with a deleter that will close the file. | |
| UniqueFitsFile | daq::fits::Open (char const *filename, OpenMode mode) |
| Open file. | |
| std::vector< LiteralKeyword > | daq::fits::ReadKeywords (fitsfile *ptr, int hdu_num) |
| Read keywords from HDU identifed by absolute position hdu_num. | |
| std::vector< LiteralKeyword > | daq::fits::ReadKeywords (fitsfile *ptr, HduType type, std::string_view name, std::optional< int > version) |
| void | daq::fits::DeleteAllKeywords (fitsfile *ptr, int hdu_num) |
| Delete all keywords from HDU. | |
| void | daq::fits::MakeHduSpace (fitsfile *ptr, int hdu_num, std::size_t additional_keys) |
| void | daq::fits::WriteKeywords (fitsfile *ptr, int hdu_num, std::vector< LiteralKeyword > const &keywords, std::optional< ssize_t > *remaining_size=nullptr) |
| Write keywords to HDU identified by number hdu_num. | |
| void | daq::fits::WriteChecksum (fitsfile *ptr, int hdu_num) |
| Write or update checksum keywords DATASUM and CHECKSUM to HDU specified by hdu_num. | |
Contains definitions for daq/fits/cfitsio.hpp.
Definition in file cfitsio.cpp.