SPA_PeakFind_p Class Reference

#include <peakfind_scan.h>

Inheritance diagram for SPA_PeakFind_p:

ProbeBase List of all members.

Public Member Functions

 SPA_PeakFind_p (int idx=0, gchar *SetName="PeakFindCntrl")
virtual ~SPA_PeakFind_p ()
void SetFitMode (int m)
int Resize ()
double skltr (double &x)
double skl (double &x)
int DoFit ()
int Mode (void)
void ResizeBuffer ()

Public Attributes

Mem2dxyscans
Focusfocview
long * buffer
int buffersize
double xnew
double ynew
double shift
double I0x
double I0y
double xorg
double yorg
double x0
double y0
double rellim
double abslim
double xsig
double ysig
double radius
int npkte
int npkte2d
double gate
double gate2d
double energy
double konvfac
double sleeptime
int enabled
int maxloops
double offsetcorrection
time_t ptime
int count
int number
int index
gchar * name
int follow
double fwhm
double xfwhm
double yfwhm
double I0
double xI0
double yI0
double xf0
double xxf0
double yxf0

Private Member Functions

int FitFind (int xy, double &m)
int FitFind2nd (int xy, double &m)
int FitFindGaus (int xy, double &m)
int FitFindLorenz (int xy, double &m)

Private Attributes

gchar * resName
int npkte_alloc
int fitmode

Detailed Description

Definition at line 78 of file peakfind_scan.h.


Constructor & Destructor Documentation

SPA_PeakFind_p::SPA_PeakFind_p int  idx = 0,
gchar *  SetName = "PeakFindCntrl"
 

Definition at line 369 of file peakfind_scan.C.

References abslim, buffer, buffersize, count, enabled, energy, FALSE, fitmode, focview, follow, fwhm, gate, gate2d, XsmRescourceManager::Get(), I0, index, konvfac, maxloops, name, npkte, npkte2d, npkte_alloc, number, offsetcorrection, PF_FITMODE_FIT2ND, radius, rellim, resName, sleeptime, TRUE, x0, xf0, xfwhm, xI0, xnew, xorg, xsig, xxf0, xyscans, y0, yfwhm, yI0, ynew, yorg, ysig, yxf0, and ZD_LONG.

SPA_PeakFind_p::~SPA_PeakFind_p  )  [virtual]
 

Definition at line 409 of file peakfind_scan.C.

References abslim, buffer, energy, focview, gate, gate2d, konvfac, npkte, npkte2d, XsmRescourceManager::Put(), radius, rellim, resName, xorg, xsig, xyscans, yorg, and ysig.


Member Function Documentation

int SPA_PeakFind_p::DoFit  ) 
 

Definition at line 439 of file peakfind_scan.C.

References abslim, FitFind(), fwhm, I0, rellim, shift, skl(), skltr(), sqrt(), x0, xf0, xfwhm, xI0, xnew, xsig, xxf0, y0, yfwhm, yI0, ynew, ysig, and yxf0.

Referenced by PeakFindScan::PFhwrun().

int SPA_PeakFind_p::FitFind int  xy,
double &  m
[inline, private]
 

Definition at line 153 of file peakfind_scan.h.

References FitFind2nd(), FitFindGaus(), FitFindLorenz(), fitmode, PF_FITMODE_FIT2ND, PF_FITMODE_FITGAUS, and PF_FITMODE_FITLORENZ.

Referenced by DoFit().

int SPA_PeakFind_p::FitFind2nd int  xy,
double &  m
[private]
 

Definition at line 473 of file peakfind_scan.C.

References Mem2d::data, DBG_L2, fwhm, Mem2d::GetDataPkt(), Mem2d::GetNx(), StatInp::GetPoly(), StatInp::GetPolyKoef(), I0, I0x, I0y, PI_DEBUG, ZData::SetNext(), ZData::SetPtr(), xf0, and xyscans.

Referenced by FitFind().

int SPA_PeakFind_p::FitFindGaus int  xy,
double &  m
[private]
 

Definition at line 510 of file peakfind_scan.C.

References Mem2d::data, DBG_L2, exp(), fwhm, Mem2d::GetDataPkt(), Mem2d::GetNx(), StatInp::GetPolyKoef(), I0, I0x, I0y, offsetcorrection, PI_DEBUG, ZData::SetNext(), ZData::SetPtr(), sqrt(), tr_log(), xf0, xyscans, and ZData::Z().

Referenced by FitFind().

int SPA_PeakFind_p::FitFindLorenz int  xy,
double &  m
[private]
 

Definition at line 556 of file peakfind_scan.C.

References Mem2d::data, DBG_L2, fwhm, Mem2d::GetDataPkt(), Mem2d::GetNx(), StatInp::GetPolyKoef(), I0, I0x, I0y, offsetcorrection, PI_DEBUG, ZData::SetNext(), ZData::SetPtr(), sqrt(), tr_inv(), xf0, xyscans, and ZData::Z().

Referenced by FitFind().

int SPA_PeakFind_p::Mode void   )  [inline]
 

Definition at line 91 of file peakfind_scan.h.

References fitmode.

Referenced by PeakFindScan::PFhwrun().

int SPA_PeakFind_p::Resize  )  [inline]
 

Definition at line 84 of file peakfind_scan.h.

References npkte, npkte_alloc, Mem2d::Resize(), and xyscans.

Referenced by PeakFindScan::PFhwrun().

void SPA_PeakFind_p::ResizeBuffer  )  [inline]
 

Definition at line 94 of file peakfind_scan.h.

References buffer, buffersize, and npkte2d.

Referenced by PeakFindScan::PFget2d().

void SPA_PeakFind_p::SetFitMode int  m  )  [inline]
 

Definition at line 83 of file peakfind_scan.h.

References fitmode.

Referenced by DSPPeakFindControl::PFsetmode().

double SPA_PeakFind_p::skl double &  x  )  [inline]
 

Definition at line 89 of file peakfind_scan.h.

References npkte, and radius.

Referenced by DoFit().

double SPA_PeakFind_p::skltr double &  x  )  [inline]
 

Definition at line 88 of file peakfind_scan.h.

References npkte, and radius.

Referenced by DoFit().


Member Data Documentation

double SPA_PeakFind_p::abslim
 

Definition at line 116 of file peakfind_scan.h.

Referenced by DoFit(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

long* SPA_PeakFind_p::buffer
 

Definition at line 105 of file peakfind_scan.h.

Referenced by Focus::AutoHiLo(), PeakFindScan::PFget2d(), ResizeBuffer(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

int SPA_PeakFind_p::buffersize
 

Definition at line 106 of file peakfind_scan.h.

Referenced by PeakFindScan::PFget2d(), ResizeBuffer(), and SPA_PeakFind_p().

int SPA_PeakFind_p::count
 

Definition at line 134 of file peakfind_scan.h.

Referenced by DSPPeakFindControl::PFreset(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().

int SPA_PeakFind_p::enabled
 

Definition at line 129 of file peakfind_scan.h.

Referenced by SPA_PeakFind_p().

double SPA_PeakFind_p::energy
 

Definition at line 125 of file peakfind_scan.h.

Referenced by Focus::addheader(), DSPPeakFindControl::PFcpyEfromM(), PeakFindScan::PFget0d(), PeakFindScan::PFget2d(), PeakFindScan::PFhwrun(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

int SPA_PeakFind_p::fitmode [private]
 

Definition at line 150 of file peakfind_scan.h.

Referenced by FitFind(), Mode(), SetFitMode(), and SPA_PeakFind_p().

Focus* SPA_PeakFind_p::focview
 

Definition at line 102 of file peakfind_scan.h.

Referenced by DSPPeakFindControl::addPFfolder(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

int SPA_PeakFind_p::follow
 

Definition at line 140 of file peakfind_scan.h.

Referenced by DSPPeakFindControl::PFfollow(), PeakFindScan::PFhwrun(), and SPA_PeakFind_p().

double SPA_PeakFind_p::fwhm
 

Definition at line 143 of file peakfind_scan.h.

Referenced by DoFit(), FitFind2nd(), FitFindGaus(), FitFindLorenz(), and SPA_PeakFind_p().

double SPA_PeakFind_p::gate
 

Definition at line 124 of file peakfind_scan.h.

Referenced by Focus::getdata(), PeakFindScan::PFget0d(), PeakFindScan::PFhwrun(), PeakFindScan::PFrunI0(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::gate2d
 

Definition at line 124 of file peakfind_scan.h.

Referenced by Focus::addheader(), Focus::AutoHiLo(), PeakFindScan::PFget2d(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::I0
 

Definition at line 144 of file peakfind_scan.h.

Referenced by DoFit(), FitFind2nd(), FitFindGaus(), FitFindLorenz(), and SPA_PeakFind_p().

double SPA_PeakFind_p::I0x
 

Definition at line 111 of file peakfind_scan.h.

Referenced by FitFind2nd(), FitFindGaus(), FitFindLorenz(), and PeakFindScan::PFrunI0().

double SPA_PeakFind_p::I0y
 

Definition at line 111 of file peakfind_scan.h.

Referenced by FitFind2nd(), FitFindGaus(), FitFindLorenz(), and PeakFindScan::PFrunI0().

int SPA_PeakFind_p::index
 

Definition at line 137 of file peakfind_scan.h.

Referenced by PeakFindScan::PFrunI0(), DSPPeakFindControl::PFrunI0pfp(), and SPA_PeakFind_p().

double SPA_PeakFind_p::konvfac
 

Definition at line 127 of file peakfind_scan.h.

Referenced by PeakFindScan::PFhwrun(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

int SPA_PeakFind_p::maxloops
 

Definition at line 130 of file peakfind_scan.h.

Referenced by PeakFindScan::PFhwrun(), and SPA_PeakFind_p().

gchar* SPA_PeakFind_p::name
 

Definition at line 138 of file peakfind_scan.h.

Referenced by SPA_PeakFind_p().

int SPA_PeakFind_p::npkte
 

Definition at line 122 of file peakfind_scan.h.

Referenced by Focus::getdata(), PeakFindScan::PFget2d(), PeakFindScan::PFhwrun(), PeakFindScan::PFrun(), PeakFindScan::PFrunI0(), Resize(), skl(), skltr(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

int SPA_PeakFind_p::npkte2d
 

Definition at line 122 of file peakfind_scan.h.

Referenced by Focus::AutoHiLo(), PeakFindScan::PFget2d(), ResizeBuffer(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

int SPA_PeakFind_p::npkte_alloc [private]
 

Definition at line 149 of file peakfind_scan.h.

Referenced by Resize(), and SPA_PeakFind_p().

int SPA_PeakFind_p::number
 

Definition at line 136 of file peakfind_scan.h.

Referenced by SPA_PeakFind_p().

double SPA_PeakFind_p::offsetcorrection
 

Definition at line 131 of file peakfind_scan.h.

Referenced by FitFindGaus(), FitFindLorenz(), and SPA_PeakFind_p().

time_t SPA_PeakFind_p::ptime
 

Definition at line 133 of file peakfind_scan.h.

double SPA_PeakFind_p::radius
 

Definition at line 120 of file peakfind_scan.h.

Referenced by Focus::addheader(), Focus::item_event(), PeakFindScan::PFget2d(), PeakFindScan::PFhwrun(), skl(), skltr(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::rellim
 

Definition at line 116 of file peakfind_scan.h.

Referenced by DoFit(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

gchar* SPA_PeakFind_p::resName [private]
 

Definition at line 148 of file peakfind_scan.h.

Referenced by SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::shift
 

Definition at line 109 of file peakfind_scan.h.

Referenced by DoFit(), and PeakFindScan::PFhwrun().

double SPA_PeakFind_p::sleeptime
 

Definition at line 128 of file peakfind_scan.h.

Referenced by SPA_PeakFind_p().

double SPA_PeakFind_p::x0
 

Definition at line 115 of file peakfind_scan.h.

Referenced by DoFit(), DSPPeakFindControl::PFcpyFromM(), DSPPeakFindControl::PFcpyorg(), PeakFindScan::PFhwrun(), and SPA_PeakFind_p().

double SPA_PeakFind_p::xf0
 

Definition at line 145 of file peakfind_scan.h.

Referenced by DoFit(), FitFind2nd(), FitFindGaus(), FitFindLorenz(), and SPA_PeakFind_p().

double SPA_PeakFind_p::xfwhm
 

Definition at line 143 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().

double SPA_PeakFind_p::xI0
 

Definition at line 144 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().

double SPA_PeakFind_p::xnew
 

Definition at line 109 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFhwrun(), and SPA_PeakFind_p().

double SPA_PeakFind_p::xorg
 

Definition at line 114 of file peakfind_scan.h.

Referenced by Focus::item_event(), DSPPeakFindControl::PFcpyFromM(), DSPPeakFindControl::PFcpyorg(), DSPPeakFindControl::PFcpyToM(), PeakFindScan::PFget0d(), PeakFindScan::PFget2d(), PeakFindScan::PFhwrun(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::xsig
 

Definition at line 117 of file peakfind_scan.h.

Referenced by DoFit(), DSPPeakFindControl::on_mX_clicked(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::xxf0
 

Definition at line 145 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().

Mem2d* SPA_PeakFind_p::xyscans
 

Definition at line 97 of file peakfind_scan.h.

Referenced by FitFind2nd(), FitFindGaus(), FitFindLorenz(), Focus::getdata(), PeakFindScan::PFhwrun(), PeakFindScan::PFrun(), PeakFindScan::PFrunI0(), Resize(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::y0
 

Definition at line 115 of file peakfind_scan.h.

Referenced by DoFit(), DSPPeakFindControl::PFcpyFromM(), DSPPeakFindControl::PFcpyorg(), PeakFindScan::PFhwrun(), and SPA_PeakFind_p().

double SPA_PeakFind_p::yfwhm
 

Definition at line 143 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().

double SPA_PeakFind_p::yI0
 

Definition at line 144 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().

double SPA_PeakFind_p::ynew
 

Definition at line 109 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFhwrun(), and SPA_PeakFind_p().

double SPA_PeakFind_p::yorg
 

Definition at line 114 of file peakfind_scan.h.

Referenced by Focus::item_event(), DSPPeakFindControl::PFcpyFromM(), DSPPeakFindControl::PFcpyorg(), DSPPeakFindControl::PFcpyToM(), PeakFindScan::PFget0d(), PeakFindScan::PFget2d(), PeakFindScan::PFhwrun(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::ysig
 

Definition at line 117 of file peakfind_scan.h.

Referenced by DoFit(), DSPPeakFindControl::on_mY_clicked(), SPA_PeakFind_p(), and ~SPA_PeakFind_p().

double SPA_PeakFind_p::yxf0
 

Definition at line 145 of file peakfind_scan.h.

Referenced by DoFit(), PeakFindScan::PFrunI0(), and SPA_PeakFind_p().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:06:19 2006 for GXSM by  doxygen 1.4.6