#ifndef DICAL_INTERPTOOLS_H
#define DICAL_INTERPTOOLS_H

/********************************************************
* Routines used in both the DI calibration interpolation
* routines.
********************************************************/

// Function prototypes
int isValidPix(IDL_LONG *bad, int badCnt,int idx, int maxIdx);
int interpCheckParams(IDL_VPTR imgIn, IDL_VPTR* imgOut, IDL_VPTR toInterp,
  IDL_VPTR badPixs,double** in, double** out, int* imgWid, IDL_LONG** toDo,
  int* doCnt, IDL_LONG** bad, int* badCnt);
  
#endif //DICAL_INTERPTOOLS_H