clinicadl.transforms.config.OneOfConfig¶
- clinicadl.transforms.config.OneOfConfig[source]¶
Config class for
torchio.transforms.OneOf.Instead of a dictionary with transforms as keys and probabilities as values, this class accepts transforms and probabilities separately. The two sequences given must have the same length.
The keys of the input
DataPointon which the transforms will be applied can be specified viainclude(only these keys will be transformed) orexclude(all the keys except these ones will be transformed).copyargument determines if the raw inputDataPointwill be returned (False), or a copy (True).- parameter transforms: List[Union[TransformConfig, List[TransformConfig]]] [Required]¶
- parameter probabilities: Optional[List[NonNegativeFloat]] = None¶
- parameter include: Optional[Sequence[str]] = None¶
- parameter exclude: Optional[Sequence[str]] = None¶
- parameter copy_: bool = False (alias 'copy')¶