class_docstr: Argument transform from (start, +-oo) to (0, 1)
class_docstr_tok: ["Argument","transform","from","(","start",",","+-oo",")","to","(","0",",","1",")"]
code: def get_t(self, x):
      z = self._sgn * (x - self._start) + 1
      if z == 0:
          # Can happen only if point not in range
          return np.inf
      return 1 / z
  
imports: import sys
  import copy
  import heapq
  import collections
  import functools
  import numpy
  from scipy._lib._util import MapWrapper
label_desc: Use image node_id 2 for calling the SemiInfiniteFunc obj's underlying member method code with example usage: obj.get_t(x) and returns: unknown, np