tomodrgn.dose#

Functions to model transmission electron microscopy signal degradation as a function of cumulative electron dose and stage tilt

Functions

calculate_critical_dose_per_frequency

Calculate critical dose for spatial frequencies following Grant and Grigorieff 2015

calculate_dose_mask

Create mask as intersection of non-zero dose weights and circular mask

calculate_dose_weights

Calculate weight associated with spatial frequencies given cumulative dose and critical dose

calculate_spatial_frequencies

Calculate spatial frequencies for image of width D-1 pixels with sampling of angpix Å/px

calculate_tilt_weights

Calculate weight per tilt image associated with higher tilt increasing optical path length and decreasing SNR

combine_dose_tilt_weights

Merge dose weights (per frequency and per tilt) with tilt weights (per tilt) for single output array

plot_weight_distribution

Plot distribution of dose weights across tilts in the spirit of https://doi.org/10.1038/s41467-021-22251-8