35#ifndef ERIS_NIX_MASTER_BPM_H
36#define ERIS_NIX_MASTER_BPM_H
38#define MASTER_BPM_INITIALISE {NULL, 1<<7, 1<<8, 1<<9, 1<<14, 1<<16}
56 const char * filename;
57 const cpl_image * bpm;
58 const cpl_propertylist * plist;
61typedef enum {BPM_GOOD,
62 BPM_CORRECTED_TELLURIC,
63 BPM_UNCORRECTED_TELLURIC,
65 BPM_ELECTRONIC_PICKUP,
66 BPM_COSMIC_RAY_REMOVED,
67 BPM_COSMIC_RAY_UNREMOVED,
69 BPM_FLAGGED_BY_CALIBRATION,
73 BPM_DETECTOR_SATURATION,
92 BPM_OUTSIDE_RANGE} bpm_code;
98master_bpm * en_master_bpm_create(
const char *,
101 const cpl_propertylist *);
103master_bpm * en_master_bpm_create_from_image(
const char *,
105 const cpl_propertylist *);
109cpl_mask * en_master_bpm_get_mask(
const master_bpm *,
const int);
111master_bpm * en_master_bpm_load_from_frameset(
const cpl_frameset *,
116cpl_error_code en_master_bpm_set(master_bpm *,
const cpl_mask *, bpm_code);
void en_master_bpm_delete(master_bpm *)
Delete a 'master_bpm' struct.