etspy.simulation.add_noise(stack: TomoStack, noise_type: 'gaussian' | 'poissonian' | 'shot' = 'gaussian', scale_factor: float = 0.2)[source]

Apply noise to a model tilt series and return as a copy.

Parameters:
stack: TomoStack

TomoStack simluation

noise_type: 'gaussian' | 'poissonian' | 'shot' = 'gaussian'

Type of noise. Must be "gaussian" or "poissonian"/"shot"

scale_factor: float = 0.2

Amount of noise to add

Returns:

noisy – Noisy copy of the input TomoStack

Return type:

TomoStack