# mrcImageMultiCTFCompensation

## Usage

    Usage: mrcImageMultiCTFCompensation
    Options:
        [-i[nput]            In                  (stdin     )] :Essential :Input: filename ...
        [-info2              CTF                 (stdin     )] :Optional  :InputFileList: the same order as the input: ctfinfo from Display2/ctfDisplay
        [-o[utput]           Out                 (stdout    )] :Essential :OutputDataFile(average file)
        [-f[ft]              fftOut              (stdout    )] :Optional  :OutputDataFile(averaged fft file)
        [-W[hiteNoise]       WhiteNoise          (1.0       )] :Optional  :
        [-W[hiteNoise]R[aising]WhiteNoiseRaising   (1.0       )] :Optional  :Weight:W*exp(WR*R)
        [-SinWin             SinWinRmin          (0.1       )SinWinRmax          (1.0       )] :Optional  :Windowing by sine function from Rmin[/A] to Rmax[/A]
        [-MaxIter[ation]     MaxIter             (10        )] :Optional  :Max Iteration
        [-ctfMode            CTFMode             (1         )] :Optional  :CTFMode: refer to mrcImageCTFObservation
        [-solventMode        solventMode         (0         )] :Optional  :If solvent flatterning is used, NEED
        [-solventSTD         solventSTD          (-1.0      )] :Optional  :If solvent flatterning is used as mode=1, NEED
        [-log[file]          Log                 (stderr    )] :Optional  :Log File Name
        [-c[onfig]           configFile          (NULL      )] :Optional  :ConfigurationFile
        [-m[ode]             mode                (0         )] :Optional  :Mode
    ----- InputFileFormat -----
    filename0 deltaF[A] Cs[mm] kV[kV] ratioOfAmpToPhase
    filename1 deltaF[A] Cs[mm] kV[kV] ratioOfAmpToPhase
    .................

    ----- Input: ctfinfo, with the same order as the input; from Display2/ctfDisplay -----
    filename0.ctfinfo
    filename1.ctfinfo
    .................

    mode: 0  : CTF-weighted compensation, CTF/(SQR(CTF) + (NS)^2)
    mode: +1 : Adding solvent-flattening process
    mode: +16: Without phase flipping, in case of images after phase only correction.