source: sans/XOP_Dev/SANSAnalysis/XOP/StructureFactor.h @ 756

Last change on this file since 756 was 756, checked in by srkline, 12 years ago

Adding Yun Liu's 2-Yukawa structure factor to both the library and the XOP. Ideally it would be consolidated to the libStructureFactor files, but there are a lot of files, and labeling them as such seems less confusing.

Currently functions correctly on Mac, still needs to be compiled on Win.

File size: 780 bytes
[97]1// header for SphereFit.c
[188]3#include "XOPStructureAlignmentTwoByte.h"
5/* structs */
6typedef struct DiamParams{
7        double p2;
8        double p1;
9        double result;
10}DiamParams, *DiamParamsPtr;
[756]12typedef struct FitParams_Yuk {
13        waveHndl SQHandle;                              // Sq returned as a wave.
14        waveHndl QHandle;                               //independent variable, Q
15        waveHndl CoefHandle;    // Coefficient wave.
16        double retVal;
17} FitParams_Yuk, *FitParamsPtr_Yuk;
[188]20#include "XOPStructureAlignmentReset.h"
[97]22/* IGOR Fit Functions */
23int HardSphereStructX(FitParamsPtr p);
24int SquareWellStructX(FitParamsPtr p);
25int StickyHS_StructX(FitParamsPtr p);
26int HayterPenfoldMSAX(FitParamsPtr p);
27int DiamCylX(DiamParamsPtr p);
[756]28int DiamEllipX(DiamParamsPtr p);
30// two-Yukawa SQ
31int     OneYukawaX(FitParamsPtr_Yuk p);
32int     TwoYukawaX(FitParamsPtr_Yuk p);
Note: See TracBrowser for help on using the repository browser.