MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __init__

Method __init__

monai/transforms/intensity/dictionary.py:1535–1537  ·  view source on GitHub ↗
(self, keys: KeysCollection, alpha: float = 0.5, allow_missing_keys: bool = False)

Source from the content-addressed store, hash-verified

1533 backend = GibbsNoise.backend
1534
1535 def __init__(self, keys: KeysCollection, alpha: float = 0.5, allow_missing_keys: bool = False) -> None:
1536 MapTransform.__init__(self, keys, allow_missing_keys)
1537 self.transform = GibbsNoise(alpha)
1538
1539 def __call__(self, data: Mapping[Hashable, NdarrayOrTensor]) -> dict[Hashable, NdarrayOrTensor]:
1540 d = dict(data)

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

GibbsNoiseClass · 0.90

Tested by

no test coverage detected