tomodrgn.dataset#

Classes and functions for interfacing with particle image data and associated starfile metadata.

Functions

load_particles

Load particle stack from a .mrcs file, a .star file, or a .txt file containing paths to .mrcs files

load_sta_dataset

Loads a tomodrgn particles dataset class (either TiltSeriesMRCData or TomoParticlesMRCData) given an instantiated star file handler class.

window_mask

Create a 2-D circular mask with a soft edge falling as a cosine from in_rad to out_rad.

Classes

TiltSeriesMRCData

Class for loading and accessing image, pose, ctf, and weighting data associated with a tomodrgn.starfile.TiltSeriesStarfile instance.

TomoParticlesMRCData

Class for loading and accessing image, pose, ctf, and weighting data associated with a tomodrgn.starfile.TomoParticlesStarfile instance.