tomodrgn.dose#
Functions to model transmission electron microscopy signal degradation as a function of cumulative electron dose and stage tilt
Functions
Calculate critical dose for spatial frequencies following Grant and Grigorieff 2015 |
|
Create mask as intersection of non-zero dose weights and circular mask |
|
Calculate weight associated with spatial frequencies given cumulative dose and critical dose |
|
Calculate spatial frequencies for image of width D-1 pixels with sampling of angpix Å/px |
|
Calculate weight per tilt image associated with higher tilt increasing optical path length and decreasing SNR |
|
Merge dose weights (per frequency and per tilt) with tilt weights (per tilt) for single output array |
|
Plot distribution of dose weights across tilts in the spirit of https://doi.org/10.1038/s41467-021-22251-8 |