tomodrgn.starfile#

Lightweight parsers for starfiles

Functions

is_starfile_optimisation_set

Infer whether a star file on disk is a RELION optimisation set, or some other type of star file.

load_sta_starfile

Loads a tomodrgn star file handling class (either TiltSeriesStarfile or TomoParticlesStarfile) from a star file on disk.

Classes

GenericStarfile

Class to parse a STAR file, a pre-existing pandas dataframe, or a pre-existing dictionary, to a dictionary of dictionaries or pandas dataframes.

TiltSeriesStarfile

Class to parse a particle image-series star file from upstream STA software.

TiltSeriesStarfileStarHeaders

Enumeration of known source software with constituent data block names and headers which are compatible with the TiltSeriesStarfile class.

TomoParticlesStarfile

Class to parse a particle star file from upstream STA software.

TomoParticlesStarfileStarHeaders

Enumeration of known source software with constituent data block names and headers which are compatible with the TomoParticlesStarfile class.