CTFReconstructed#

class CTFReconstructed(shape=None, defocus_x=None, angles=None, opening_axis=2, tilt_axis=0, correct_defocus_gradient=False, sampling_rate=1, acceleration_voltage=300000.0, spherical_aberration=27000000.0, amplitude_contrast=0.07, phase_shift=0, defocus_angle=0, defocus_y=None, flip_phase=True, return_real_fourier=False)[source]#

Bases: CTF

Create a simple contrast transfer function mask without the ability to specify per-tilt parameters like in CTF.

Attributes

CTFReconstructed.acceleration_voltage

The acceleration voltage in Volts, defaults to 300e3.

CTFReconstructed.amplitude_contrast

The amplitude contrast, defaults to 0.07.

CTFReconstructed.angles

The tilt angles.

CTFReconstructed.correct_defocus_gradient

Whether to correct defocus gradient, defaults to 0 (x).

CTFReconstructed.defocus_angle

The defocus angle in degrees, defaults to 0.

CTFReconstructed.defocus_x

The defocus value in x direction.

CTFReconstructed.defocus_y

The defocus value in y direction, defaults to None.

CTFReconstructed.flip_phase

Whether the returned CTF should be phase-flipped.

CTFReconstructed.opening_axis

The microscope projection axis, defaults to None.

CTFReconstructed.phase_shift

The phase shift in degrees, defaults to 0.

CTFReconstructed.return_real_fourier

Whether to return a format compliant with rfft.

CTFReconstructed.sampling_rate

The sampling rate, defaults to 1 Angstrom / Voxel.

CTFReconstructed.shape

The shape of the to-be reconstructed volume.

CTFReconstructed.spherical_aberration

The spherical aberration coefficient, defaults to 2.7e7.

CTFReconstructed.tilt_axis

The axis along which the tilt is applied, defaults to 2 (z).

Methods

CTFReconstructed.__call__(**kwargs)

CTFReconstructed.from_file(filename)

Initialize CTF from file.

CTFReconstructed.weight(shape, defocus_x[, ...])

Compute the CTF weight tilt stack.