00001 #ifndef __INCLUDE_SFIT_3DGAUSSIAN_CC__
00002 #define __INCLUDE_SFIT_3DGAUSSIAN_CC__
00003 #include "sfit.h"
00004
00005 class C3DArray;
00006 class CKernel;
00007 class CSourceCalc;
00008
00009 CCF2SFit_3DGaussian::CCF2SFit_3DGaussian(CSourceCalc *scset,
00010 C3DArray *cexpset,
00011 C3DArray *cerrorset,
00012 C3DArray *ctheory3Dset,
00013 CCHArray *ctheoryset,
00014 CCHArray *sourceset,
00015 CKernel *kernelset){
00016
00017
00018 sourcecalc=scset;
00019 cexp3D=cexpset;
00020 cerror3D=cerrorset;
00021 ctheoryCH=ctheoryset;
00022 ctheory3D=ctheory3Dset;
00023 sourceCH=sourceset;
00024 kernel=kernelset;
00025 Init();
00026
00027
00028
00029 AddPar("lambda",parameter::getD(sourcecalc->spars,"lambda",0.5),
00030 0.02,0.0,1.5);
00031 AddPar("Rx",parameter::getD(sourcecalc->spars,"Rx",5),
00032 0.2,1.0,12.0);
00033 AddPar("Ry",parameter::getD(sourcecalc->spars,"Ry",5),
00034 0.2,1.0,12.0);
00035 AddPar("Rz",parameter::getD(sourcecalc->spars,"Rz",5),
00036 0.2,1.0,12.0);
00037 AddPar("Xoff",parameter::getD(sourcecalc->spars,"Xoff",0.0),
00038 0.2,-10.0,10.0);
00039
00040 InitErrorMatrix();
00041
00042 }
00043 #endif
00044