mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

Declares and defines a class to work with a FITS header. More...

Declares and defines a class to work with a FITS header.

Definition in file fitsHeader.hpp.

#include <list>
#include <unordered_map>
#include <iostream>
#include <vector>
#include <optional>
#include "fitsHeaderCard.hpp"

Go to the source code of this file.

Classes

class  mx::fits::fitsHeader< verboseT >
 Class to manage a FITS file metadata header and provide fast access to the cards by keyword. More...
 

Namespaces

namespace  mx
 The mxlib c++ namespace.
 

Functions

template<typename dataT , class fitsHeaderT >
error_t mx::fits::headersToValues (std::vector< dataT > &v, std::vector< size_t > &bad, std::vector< fitsHeaderT > &heads, const std::string &keyw)
 Convert the values in a std::vector of fits headers into a std::vector of values.
 
template<class fitsHeaderT >
void mx::fits::fitsHeaderGitStatus (fitsHeaderT &head, const std::string &repoName, const char *sha1, int modified)
 Write the status of a Git repository to HISTORY in a FITS header.