CTFFIND and CTFTILT are two programs for finding CTFs of electron micrographs.

Documentation

Grigorieff Lab download/usage page
ctffind & ctftilt forum

Slurm script

#!/bin/bash
#SBATCH --time=1:00:00
#SBATCH --partition=norm
#SBATCH --ntasks=8
module load ctffind
# parameters
#input file
#diagnostic file
#CS[mm],HT[kV],AmpCnst,XMAG,DStep
#Box,ResMin[A],ResMax[A],dFMin[A],dFMax[A],FStep[A],dAst[A]
ctffind3 --old-school-input -j:${SLURM_NPROCS} <<
example.mrc
diag.out
2.0,200.0,0.07,60000,7.0
128,200.0,8.0,5000.0,30000.0,1000.0,100.0
EOF