//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// XXX WARNING: I have completely replaced this file with an OLD VERSION (that works) instead of the
// one that was being worked on.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////

/** @file  pmNonLinear.h
 *
 *  Provides polynomial or table lookup non-linearity corrections to readouts.
 *
 *  @author GLG, MHPCC
 *
 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
 *  @date $Date: 2006-04-17 18:01:05 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
 *
 */

#if !defined(PM_NON_LINEAR_H)
#define PM_NON_LINEAR_H

#include "pslib.h"
#include "pmFPA.h"

pmReadout *pmNonLinearityPolynomial(pmReadout *in,
                                    const psPolynomial1D *coeff);

pmReadout *pmNonLinearityLookup(pmReadout *in,
                                const psVector *inFlux,
                                const psVector *outFlux);

#endif
