- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
37
fitcenter.h
37
fitcenter.h
@ -12,29 +12,28 @@
|
||||
#ifndef SICSFITCENTER
|
||||
#define SICSFITCENTER
|
||||
|
||||
typedef struct __FitCenter *pFit;
|
||||
typedef struct __FitCenter *pFit;
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
pFit CreateFitCenter(pScanData pScan);
|
||||
void DeleteFitCenter(void *pData);
|
||||
pFit CreateFitCenter(pScanData pScan);
|
||||
void DeleteFitCenter(void *pData);
|
||||
/*-------------------------------------------------------------------------*/
|
||||
int CalculateFit(pFit self);
|
||||
int CalculateFit(pFit self);
|
||||
/*
|
||||
CalcluateFit returns: -1 when left FWHM could not be found
|
||||
-2 when right FWHM could not be found
|
||||
1 on success
|
||||
*/
|
||||
int CalculateFitFromData(pFit self, float fAxis[], long lSum[],
|
||||
int iLen);
|
||||
void GetFitResults(pFit self, float *fNewCenter, float *fStdDev,
|
||||
float *FWHM, float *fMax);
|
||||
int DriveCenter(pFit self, SConnection *pCon, SicsInterp *pSics);
|
||||
CalcluateFit returns: -1 when left FWHM could not be found
|
||||
-2 when right FWHM could not be found
|
||||
1 on success
|
||||
*/
|
||||
int CalculateFitFromData(pFit self, float fAxis[], long lSum[], int iLen);
|
||||
void GetFitResults(pFit self, float *fNewCenter, float *fStdDev,
|
||||
float *FWHM, float *fMax);
|
||||
int DriveCenter(pFit self, SConnection * pCon, SicsInterp * pSics);
|
||||
/*-------------------------------------------------------------------------*/
|
||||
int FitFactory(SConnection *pCon,SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int FitWrapper(SConnection *pCon,SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int CenterWrapper(SConnection *pCon,SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int FitFactory(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int FitWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int CenterWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user