MCPcopy Create free account
hub / github.com/Atrovast/THGS / __init__

Method __init__

ext/spt/transforms/sampling.py:393–396  ·  view source on GitHub ↗
(self, x=0, steps=2)

Source from the content-addressed store, hash-verified

391 """
392
393 def __init__(self, x=0, steps=2):
394 assert 0 <= x < 2 ** steps
395 self.steps = steps
396 self.x = x
397
398 def _process(self, data):
399 # Nothing to do if less than 1 step required

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected