1 | // header for SphereFit.c |
---|
2 | |
---|
3 | /* IGOR Fit Functions */ |
---|
4 | int MultiShellX(FitParamsPtr p); |
---|
5 | int PolyMultiShellX(FitParamsPtr p); |
---|
6 | int SphereFormX(FitParamsPtr p); |
---|
7 | int CoreShellFormX(FitParamsPtr p); |
---|
8 | int PolyCoreFormX(FitParamsPtr p); |
---|
9 | int PolyCoreShellRatioX(FitParamsPtr p); |
---|
10 | int VesicleFormX(FitParamsPtr p); |
---|
11 | int SchulzSpheresX(FitParamsPtr p); |
---|
12 | int PolyRectSpheresX(FitParamsPtr p); |
---|
13 | int PolyHardSphereIntensityX(FitParamsPtr p); |
---|
14 | int BimodalSchulzSpheresX(FitParamsPtr p); |
---|
15 | int GaussPolySphereX(FitParamsPtr p); |
---|
16 | int LogNormalPolySphereX(FitParamsPtr p); |
---|
17 | int BinaryHSX(FitParamsPtr p); |
---|
18 | int BinaryHS_PSF11X(FitParamsPtr p); |
---|
19 | int BinaryHS_PSF12X(FitParamsPtr p); |
---|
20 | int BinaryHS_PSF22X(FitParamsPtr p); |
---|
21 | |
---|
22 | //function prototypes |
---|
23 | DOUBLE F_func(double qr); |
---|
24 | DOUBLE MultiShellGuts(DOUBLE q,DOUBLE rcore,DOUBLE ts,DOUBLE tw,DOUBLE rhocore,DOUBLE rhoshel,int num); |
---|
25 | static DOUBLE SchulzPoint(DOUBLE x, DOUBLE avg, DOUBLE zz); |
---|
26 | static DOUBLE gammln(double xx); |
---|
27 | DOUBLE fnt2(DOUBLE yy, DOUBLE zz); |
---|
28 | DOUBLE fnt3(DOUBLE yy, DOUBLE pp, DOUBLE zz); |
---|
29 | DOUBLE SchulzSphere_Fn(DOUBLE scale, DOUBLE ravg, DOUBLE pd, DOUBLE rho, DOUBLE rhos, DOUBLE x); |
---|
30 | static DOUBLE Gauss_distr(DOUBLE sig, DOUBLE avg, DOUBLE pt); |
---|
31 | static DOUBLE LogNormal_distr(DOUBLE sig, DOUBLE mu, DOUBLE pt); |
---|
32 | int ashcroft(DOUBLE qval, DOUBLE r2, DOUBLE nf2, DOUBLE aa, DOUBLE phi, DOUBLE *s11, DOUBLE *s22, DOUBLE *s12); |
---|
33 | |
---|