Constants of a microscope that the contrast transfer function depends on.
More...
#include <rexlib/em/ops/parameters/ctf_optics.hpp>
Constants of a microscope that the contrast transfer function depends on.
◆ ctf_optics()
| rexlib::em::ctf_optics::ctf_optics |
( |
double |
voltage, |
|
|
double |
spherical_aberration, |
|
|
double |
amplitude_contrast |
|
) |
| |
Construct the optics of a microscope.
- Parameters
-
| voltage | The acceleration voltage, in kilovolts. |
| spherical_aberration | The spherical aberration coefficient, in millimetres. |
| amplitude_contrast | The fraction of amplitude contrast. |
- Exceptions
-
| std::invalid_argument | When the voltage is not finite and positive, the spherical aberration is not finite, or the amplitude contrast lies outside [0, 1). |
◆ get_amplitude_contrast()
| double rexlib::em::ctf_optics::get_amplitude_contrast |
( |
| ) |
const |
|
noexcept |
Get the fraction of amplitude contrast.
- Returns
- double The fraction.
◆ get_spherical_aberration()
| double rexlib::em::ctf_optics::get_spherical_aberration |
( |
| ) |
const |
|
noexcept |
Get the spherical aberration coefficient.
- Returns
- double The coefficient, in millimetres.
◆ get_voltage()
| double rexlib::em::ctf_optics::get_voltage |
( |
| ) |
const |
|
noexcept |
Get the acceleration voltage.
- Returns
- double The voltage, in kilovolts.
◆ get_wavelength()
| double rexlib::em::ctf_optics::get_wavelength |
( |
| ) |
const |
|
noexcept |
Get the relativistic wavelength of the electrons.
The wavelength is 12.2643247 / sqrt(V (1 + 0.978466e-6 V)), with V the voltage in volts.
- Returns
- double The wavelength, in angstroms.
The documentation for this class was generated from the following file: