/* Portions of IDL "calnica_structs" extracted for use with "n_cridcalc.c". */
/* [I. Barg, 12-17-99] */


/* Dark Types */
#define MATCH	1
#define INTERP	2
#define EXTRAP	3

/* Observation and calibration information  */

typedef struct { 
            IDL_STRING filename;
            short group;
            short ngroups;
            short NullData[MAX_MAREADS];
            short RefDataLoaded;
            short DarkType;
	    short darkframe1;
	    short darkframe2;
            IDL_STRING instr;
            short camera;
            short obsmode;
            IDL_STRING filter;
            short nread;
            short nsamp;
            IDL_STRING sampseq;
            IDL_STRING readout;
            float adcgain;
            double exptime[MAX_MAREADS];
	    double sampzero;
	    short bunit[MAX_MAREADS];
	    short tdftrans[MAX_MAREADS];
	    float crthresh;
	    float zsthresh;
	    float barthresh;
	    short samp_rej;
            CalStep ZSIG;
            CalStep ZOFF;
            CalStep MASK;
            CalStep BIAS;
            CalStep NOIS;
            CalStep DARK;
            CalStep NLIN;
            CalStep BARS;
            CalStep FLAT;
            CalStep UNIT;
            CalStep PHOT;
            CalStep CRID;
            CalStep BACK;
            CalStep WARN;
} NicInfo;

