dacapo.gp.gamma_noise
Module Contents
Classes
Class for applying gamma noise augmentation. |
Attributes
- dacapo.gp.gamma_noise.logger
- class dacapo.gp.gamma_noise.GammaAugment(arrays, gamma_min, gamma_max)
Class for applying gamma noise augmentation.
- arrays
An iterable collection of np arrays to augment
- gamma_min
A float representing the lower limit of gamma perturbation
- gamma_max
A float representing the upper limit of gamma perturbation
- setup()
Method to configure the internal state of the class
- process()
Method to apply gamma noise to the desired arrays
- __augment()
Private method to perform the actual augmentation
- setup()
Configuring the internal state by iterating over arrays.
- process(batch, request)
Method to apply gamma noise to the desired arrays.
- Parameters:
batch – The input batch to be processed.
request – An object which holds the requested output location.