cryolike.microscopy

cryolike.microscopy.ctf

class cryolike.microscopy.ctf.CTF(ctf_descriptor: Tensor | LensDescriptor, polar_grid: PolarGrid | None = None, box_size: float = -1.0, anisotropy: bool = True, cs_corrected: bool = False, precision: Precision = Precision.DOUBLE)

Bases: object

Class representing a contrast transfer function.

box_size

Side length of a (square) viewing box, in Angstroms

Type:

float

anisotropy

Whether the described CTF is anisotropic

Type:

bool

cs_corrected

Whether the described CTF is CS-corrected

Type:

bool

n_CTF

Number of CTFs, which determines whether the CTF can effectively describe an image stack

Type:

int

ctf

The value of the CTF function as a Numpy array. It is indexed as [n_images, n_shells, n_inplanes]

Type:

torch.Tensor

lens_descriptor

If the CTF was computed, this field stores the lens description which was used to compute the CTF.

Type:

LensDescriptor | None