MCPcopy Create free account
hub / github.com/PyTables/PyTables / set_inputs_range

Method set_inputs_range

tables/expression.py:333–351  ·  view source on GitHub ↗

Define a range for all inputs in expression. The computation will only take place for the range defined by the start, stop and step parameters in the main dimension of inputs (or the leading one, if the object lacks the concept of main dimension, like a NumPy contain

(
        self,
        start: int | None = None,
        stop: int | None = None,
        step: int | None = None,
    )

Source from the content-addressed store, hash-verified

331 return reqvars
332
333 def set_inputs_range(
334 self,
335 start: int | None = None,
336 stop: int | None = None,
337 step: int | None = None,
338 ) -> None:
339 """Define a range for all inputs in expression.
340
341 The computation will only take place for the range defined by
342 the start, stop and step parameters in the main dimension of
343 inputs (or the leading one, if the object lacks the concept of
344 main dimension, like a NumPy container). If not a common main
345 dimension exists for all inputs, the leading dimension will be
346 used instead.
347
348 """
349 self.start = start
350 self.stop = stop
351 self.step = step
352
353 def set_output(
354 self, out: ContainerType, append_mode: bool = False

Callers 8

test02_outMethod · 0.95
test02a_sssMethod · 0.95
test02b_sssMethod · 0.95
test02c_sssMethod · 0.95
test03_sssMethod · 0.95
test01a_sssMethod · 0.95
test01b_sssMethod · 0.95
test01c_sssMethod · 0.95

Calls

no outgoing calls

Tested by 8

test02_outMethod · 0.76
test02a_sssMethod · 0.76
test02b_sssMethod · 0.76
test02c_sssMethod · 0.76
test03_sssMethod · 0.76
test01a_sssMethod · 0.76
test01b_sssMethod · 0.76
test01c_sssMethod · 0.76