dacapo.experiments.trainers.gp_augments.gamma_config

Module Contents

Classes

GammaAugmentConfig

This class manages the configuration of gamma augmentation for a given dataset.

class dacapo.experiments.trainers.gp_augments.gamma_config.GammaAugmentConfig

This class manages the configuration of gamma augmentation for a given dataset.

gamma_range

A tuple of float values represents the min and max range of gamma noise

to apply on the raw data.
node()

Constructs a node in the augmentation pipeline.

gamma_range: Tuple[float, float]
node(raw_key: gunpowder.ArrayKey, _gt_key=None, _mask_key=None)

Constructs a node in the augmentation pipeline.

Parameters:
  • raw_key (gp.ArrayKey) – Key to an Array (volume) in the pipeline

  • _gt_key (gp.ArrayKey, optional) – Ground Truth key, not used in this function. Defaults to None.

  • _mask_key (gp.ArrayKey, optional) – Mask Key, not used in this function. Defaults to None.

Returns:

The augmentation method to be applied on the source data.

Return type:

GammaAugment instance