fits2idia
FITS to HDF5 (IDIA schema) converter
common.h File Reference
#include <vector>
#include <cmath>
#include <functional>
#include <algorithm>
#include <iostream>
#include <chrono>
#include <sstream>
#include <limits>
#include <memory>
#include <numeric>
#include <iterator>
#include <cstring>
#include <H5Cpp.h>
#include <fitsio.h>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Macros

#define SCHEMA_VERSION   "0.3"
 
#define HDF5_CONVERTER   "fits2idia"
 
#define HDF5_CONVERTER_VERSION   "0.1.15"
 
#define TILE_SIZE   (hsize_t)512
 
#define MIN_MIPMAP_SIZE   (hsize_t)128
 
#define DEBUG(x)   do {} while (0)
 
#define TIMER(x)   do {} while (0)
 
#define PROGRESS(msg)   if (progress) std::cout << msg
 
#define PROGRESS_DECIMATED(index, stride, msg)   if (progress && !(index % stride)) std::cout << msg << std::flush
 
#define EMPTY_DIMS   std::vector<hsize_t>()
 
#define UNUSED(x)   (void)(x)
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   x)    do {} while (0)

◆ EMPTY_DIMS

#define EMPTY_DIMS   std::vector<hsize_t>()

◆ HDF5_CONVERTER

#define HDF5_CONVERTER   "fits2idia"

◆ HDF5_CONVERTER_VERSION

#define HDF5_CONVERTER_VERSION   "0.1.15"

◆ MIN_MIPMAP_SIZE

#define MIN_MIPMAP_SIZE   (hsize_t)128

◆ PROGRESS

#define PROGRESS (   msg)    if (progress) std::cout << msg

◆ PROGRESS_DECIMATED

#define PROGRESS_DECIMATED (   index,
  stride,
  msg 
)    if (progress && !(index % stride)) std::cout << msg << std::flush

◆ SCHEMA_VERSION

#define SCHEMA_VERSION   "0.3"

◆ TILE_SIZE

#define TILE_SIZE   (hsize_t)512

◆ TIMER

#define TIMER (   x)    do {} while (0)

◆ UNUSED

#define UNUSED (   x)    (void)(x)