next Constant signal
up Specials
previous Using different binwidths for one signal

index Index


Fitting different data in one inifile ("global fit")

  For fitting different data with only one initialfile you have to specifiy several blocks of SPECTRUM commands. How to define parameters that are different for each spectra has already been describe in Variable parameters for global fit. An example is shown here.
In case you want to fit spectra with different field geometries together - let me say runs in transverse and zero field - you have to set the asymmetry of the transverse signal to zero while calling the zero field spectra and vice versa.
Here is an example of what SIGNAL commands and SPECTRUM commands look like for a combined fit of a transverse and a zero field spectra:

!--------------------------SIGNAL commands:
SIGNAL 106, 107, 4,  5,
SIGNAL    , 108,  , -6,
!      pha,asy,frq,rel,pow
! --------------------- SPECTRUM commands:
!TF SPECTRA
SPECTRUM 1,,,,,2,3,201
zero=0.0
!       alpha,beta,rpha,rasy,l/t0,    5xindirect
GPS=cecunisn$:R11029.gps
SP 2
H 1,2
B 900,1000,900,1000
T  3. ,10. ,32.
 
!ZF SPECTRA
SPECTRUM 1,,,,,202,203,3
zero=0.0
zero=0.0
!       alpha,beta,rpha,rasy,l/t0,    5xindirect
GPS=cecunisn$:R11037.gps
SP 2
H 1,2
B 900,1000,900,1000
T  3. ,10. ,32.

If all the histogram, background and time settings are the same for all spectra you only have to specifiy them once. In following SPECTRUM sections they can be shortened by PREV.   The ZF-Spectra shown above will then look like:

!ZF SPECTRA
SPECTRUM 1,,,,,202,203,3
zero=0.0
zero=0.0
!       alpha,beta,rpha,rasy,l/t0,    5xindirect
GPS=cecunisn$:R11037.gps
PREV