code: def sample_topo(self, ind):
      # Find the position of the sample in the component axial directions
      self.Xi_ind_pos = []
      self.Xi_ind_topo_i = []
  
      for i in range(self.dim):
          for x, I_ind in zip(self.Ii[i], range(len(self.Ii[i]))):
              if x == ind:
                  self.Xi_ind_pos.append(I_ind)
  
          # Use the topo reference tables to find if point is a minimizer on
          # the current axis
  
          # First check if index is on the boundary of the sampling points:
          if self.Xi_ind_pos[i] == 0:
              # if boundary is in basin
              self.Xi_ind_topo_i.append(self.Ftp[:, i][0] > 0)
  
          elif self.Xi_ind_pos[i] == self.fn - 1:
              # Largest value at sample size
              self.Xi_ind_topo_i.append(self.Ftp[:, i][self.fn - 2] < 0)
  
          # Find axial reference for other points
          else:
              Xi_ind_top_p = self.Ftp[:, i][self.Xi_ind_pos[i]] > 0
              Xi_ind_top_m = self.Ftm[:, i][self.Xi_ind_pos[i] - 1] > 0
              self.Xi_ind_topo_i.append(Xi_ind_top_p and Xi_ind_top_m)
  
      if np.array(self.Xi_ind_topo_i).all():
          self.Xi_ind_topo = True
      else:
          self.Xi_ind_topo = False
      self.Xi_ind_topo = np.array(self.Xi_ind_topo_i).all()
  
      return self.Xi_ind_topo
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  import time
  import logging
  import warnings
  from scipy import spatial
  from scipy.optimize import OptimizeResult, minimize
  from scipy.optimize._shgo_lib import sobol_seq
  from scipy.optimize._shgo_lib.triangulation import Complex
label_desc: Use image node_id 36 for calling the SHGO obj's underlying member method code with example usage: obj.sample_topo(ind) and returns: self