original_docstring: 
          Returns the filtered (xs, ys) based on the Kernel domain centred on x
          
docstring: Returns the filtered (xs, ys) based on the Kernel domain centred on x
docstring_tokens: Returns the filtered ( xs ys ) based on the Kernel domain centred on x
code: def inDomain(self, xs, ys, x):
          """
          Returns the filtered (xs, ys) based on the Kernel domain centred on x
          """
          # Disable black-list functions: filter used for speed instead of
          # list-comprehension
          # pylint: disable-msg=W0141
          def isInDomain(xy):
              """Used for filter to check if point is in the domain"""
              u = (xy[0]-x)/self.h
              return u >= self.domain[0] and u <= self.domain[1]
  
          if self.domain is None:
              return (xs, ys)
          else:
              filtered = filter(isInDomain, zip(xs, ys))
              if len(filtered) > 0:
                  xs, ys = zip(*filtered)
                  return (xs, ys)
              else:
                  return ([], [])
code_tokens: def inDomain ( self , xs , ys , x ) : def isInDomain ( xy ) : """Used for filter to check if point is in the domain""" u = ( xy [ 0 ] - x ) / self . h return u >= self . domain [ 0 ] and u <= self . domain [ 1 ] if self . domain is None : return ( xs , ys ) else : filtered = filter ( isInDomain , zip ( xs , ys ) ) if len ( filtered ) > 0 : xs , ys = zip ( * filtered ) return ( xs , ys ) else : return ( [ ] , [ ] )
short_docstring: Returns the filtered (xs, ys) based on the Kernel domain centred on x
short_docstring_tokens: Returns the filtered ( xs ys ) based on the Kernel domain centred on x
comment: """
          Returns the filtered (xs, ys) based on the Kernel domain centred on x
          """$SEP$# Disable black-list functions: filter used for speed instead of$SEP$# list-comprehension$SEP$# pylint: disable-msg=W0141$SEP$"""Used for filter to check if point is in the domain"""