tomodrgn.dose.calculate_dose_weights#
- calculate_dose_weights(spatial_frequencies_critical_dose: ndarray, cumulative_doses: ndarray) ndarray [source]#
Calculate weight associated with spatial frequencies given cumulative dose and critical dose
- Parameters:
spatial_frequencies_critical_dose – numpy array of critical dose for each spatial frequency, shape (D, D), dtype float
cumulative_doses – numpy array of cumulative dose in e-/A2 at each tilt, shape (ntilts), dtype float
- Returns:
numpy array of weight for each spatial frequency at each cumulative dose, shape (ntilts, D, D), dtype float