Changeset 379 in Sophya for trunk/SophyaPI/PIext/piafitting.h
- Timestamp:
- Aug 9, 1999, 11:34:03 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piafitting.h
r361 r379 20 20 #include "dlftypes.h" 21 21 #include "piacmd.h" 22 #include "cvector.h" 22 23 23 class Vector;24 24 class PIStdImgApp; 25 class PIAFitterWind; 26 class GeneralFunction; 27 class GeneralFitData; 28 class GeneralFit; 29 class Histo; 30 class Matrix; class Histo2D; class RzImage; 25 31 26 32 class PIAFitter : public CmdExecutor { 27 33 public : 28 29 virtual 30 virtual int 34 PIAFitter(PIACmd* piac, PIStdImgApp* app); 35 virtual ~PIAFitter(); 36 virtual int Execute(string& keyw, vector<string>& args); 31 37 32 // Methodes de fit - CMV , deux methodes H1 H2 ou 1 seule ??) ... 33 virtual void Fit12D(string & nom, string& func, 34 string par,string step,string min,string max,string opt); 38 friend class PIAFitterWind; 35 39 36 40 protected : 41 37 42 typedef struct DFOptions { 38 intokres, okfun;43 bool okres, okfun; 39 44 int polcx,polcy; double xc,yc; 40 45 double err_e, err_E; … … 43 48 int lp,lpg; 44 49 int i1,i2,j1,j2; 50 bool fromlastfit; 45 51 } DFOPTIONS ; 46 52 47 static void DecodeFitsOptions(string par,string step,string min,string max,string opt 48 ,Vector& Par,Vector& Step,Vector& Min,Vector& Max,DFOPTIONS& O); 53 void ResetDPointer(void); 54 void ResetOptions(void); 55 void DecodeOptions(string opt); 56 void DecodeObject(string obj); 57 void CheckOptions(void); 58 void PrintOptions(void); 59 void FillGData(void); 60 void DecodeFunction(string func); 61 void ReSetParam(void); 62 void InitParFromLastFit(void); 63 void DecodeParam(string par,string step,string min,string max,string fix); 64 int DoFit(void); 65 void FitFunRes(void); 66 void LinFit(void); 67 68 PIStdImgApp* mApp; // Do not delete 69 PIAFitterWind* FWindFit; 70 string mNObj; AnyDataObj* mObj; // Do not delete 71 GeneralFunction* mFunc; string mFName; 72 GeneralFitData* mGData; 73 int mNPar,mNVar,mNBinX,mNBinY,mNData; 74 Vector mPar; Vector mStep; Vector mMin; Vector mMax; Vector mFix; 75 Vector mParSave; Vector mStepSave; Vector mMinSave; Vector mMaxSave; Vector mFixSave; 76 GeneralFit* mFit; 77 DFOPTIONS mOpt; 78 DFOPTIONS mOptSave; 79 // Objets a fitter 80 Vector* mV; Histo* mH; // Do not delete 81 Matrix* mM; Histo2D* mH2; RzImage* mIm; // Do not delete 82 GeneralFitData* mG; // Do not delete 83 49 84 }; 50 85
Note:
See TracChangeset
for help on using the changeset viewer.