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

Method _process

ext/spt/transforms/sampling.py:510–514  ·  view source on GitHub ↗
(self, nag)

Source from the content-addressed store, hash-verified

508 self.mask = mask
509
510 def _process(self, nag):
511 idx = nag.get_sampling(
512 high=self.high, low=self.low, n_max=self.n_max, n_min=self.n_min,
513 return_pointers=False)
514 return nag.select(self.low, idx)
515
516
517class SampleSegments(Transform):

Callers

nothing calls this directly

Calls 2

get_samplingMethod · 0.80
selectMethod · 0.45

Tested by

no test coverage detected