tomodrgn.dataset.TiltSeriesMRCData#
- class TiltSeriesMRCData(ptcls_star: TiltSeriesStarfile, star_random_subset: int = -1, datadir: str | None = None, lazy: bool = True, norm: tuple[float, float] | None = None, invert_data: bool = False, window: bool = True, window_r: float = 0.75, window_r_outer: float = 0.95, recon_dose_weight: bool = False, recon_tilt_weight: bool = False, l_dose_mask: bool = False, constant_mintilt_sampling: bool = False, sequential_tilt_sampling: bool = False)[source]#
Bases:
Dataset
Class for loading and accessing image, pose, ctf, and weighting data associated with a tomodrgn.starfile.TiltSeriesStarfile instance.
Methods
get
Estimate mean and standard deviation of particles when lazy is True.
Instantiate a dataset from a config.pkl