27#ifndef ERIS_NIX_DEFS_H
28#define ERIS_NIX_DEFS_H
32#define CASU_2MASS_PSC 1
39#define ERIS_NIX_SATURATION_DEFAULT 5000.0
45 hdrl_imagelist * himagelist;
46 cpl_image * confidence;
48 cpl_image * bkg_confidence;
49 cpl_propertylist * plist;
50 hdrl_catalogue_result * objects;
51 cpl_mask * object_mask;
52 hdrl_catalogue_result * matchstd_wcs;
53 hdrl_catalogue_result * matchstd_phot;
58 located_image ** limages;
62#define ERIS_NIX_MEF_MASK 1
63#define ERIS_NIX_MEF_IMAGE 2
68 const char * data_type;
69 cpl_propertylist * plist;
83#define enu_check_error_code(...) \
84 cpl_error_ensure(cpl_error_get_code()==CPL_ERROR_NONE,\
85 cpl_error_get_code(), goto cleanup, __VA_ARGS__)
87#define enu_check(BOOL, CODE, ...) \
88 cpl_error_ensure(BOOL, CODE, goto cleanup, __VA_ARGS__)