Name
generate_ctf - generate a CTF object.
Usage
ctf = generate_ctf([defocus, cs, voltage, apix, bfactor, amp_contrast, astigmatism amplitude, astigmatism angle])
Input
This function takes a list as input. The values in the list are:
- defocus
defocus in `µ`m. Positive number means underfocus.
- cs
- Spherical aberration constant in mm. (Default 2.0).
- voltage
microscope voltage in `kV`. (Default 300 kV).
- apix
pixel size in `Å`.
- amp_contrast
- Amplitude contrast ratio, unitless, given as percentage of (0,100). (Default 10%).
- bfactor
B-factor defining exponential decay of Fourier amplitudes decay `Å^2`. (Default 0.0, i.e., no decay).
- astigmatism amplitude
- in [nm]. (Default 0.0).
- astigmatism angle
- in [degrees]. (Default 0.0).
Output
- ctf
- a CTF object, which is usually stored in the header: img.set_attr("ctf", ctf)
Description
See CTF_info for more information about CTF
Method
Reference
Author / Maintainer
Wei Zhang
Keywords
- category 1
- MORPHOLOGY
Files
utilities.py
See also
Maturity
- stable
- works for most people, has been tested; test cases/examples available.
Bugs
None. It is perfect.