class_docstr: This class is intended to represent a set of inter-subject regions
  It should inherit from some abstract multiple ROI class,
  not implemented yet.
docstr: Building the landmark_region
  
  Parameters
  ----------
  domain: ROI instance
          defines the spatial context of the SubDomains
  k: int,
     the number of landmark regions considered
  indiv_coord:  k-length list of arrays,
                coordinates of the nodes in some embedding space.
  subjects: k-length list of integers
        these correspond to an ROI feature:
        the subject index of individual regions
  confidence: k-length list of arrays,
              confidence values for the regions (0 is low, 1 is high)
docstr_tok: ["Building","the","landmark_region","Parameters","--","--","--","--","--","domain",":","ROI","instance","defines","the","spatial","context","of","the","SubDomains","k",":","int",",","the","number","of","landmark","regions","considered","indiv_coord",":","k-length","list","of","arrays",",","coordinates","of","the","nodes","in","some","embedding","space",".","subjects",":","k-length","list","of","integers","these","correspond","to","an","ROI","feature",":","the","subject","index","of","individual","regions","confidence",":","k-length","list","of","arrays",",","confidence","values","for","the","regions","(","0","is","low",",","1","is","high",")"]
code: def __init__(self, domain, k, indiv_coord, subjects, confidence):
      """Building the landmark_region
  
      Parameters
      ----------
      domain: ROI instance
              defines the spatial context of the SubDomains
      k: int,
         the number of landmark regions considered
      indiv_coord:  k-length list of arrays,
                    coordinates of the nodes in some embedding space.
      subjects: k-length list of integers
            these correspond to an ROI feature:
            the subject index of individual regions
      confidence: k-length list of arrays,
                  confidence values for the regions (0 is low, 1 is high)
      """
      self.domain = domain
      self.k = int(k)
      if len(indiv_coord) != k:
          raise ValueError("len(indiv_coord) should be equal to %d" % k)
      if len(subjects) != k:
          raise ValueError("len(subjects) should be equal to %d" % k)
      if len(confidence) != k:
          raise ValueError("len(confidence) should be equal to %d" % k)
      self.position = indiv_coord
      self.subjects = subjects
      self.confidence = confidence
  
file_path: nipy/nipy/labs/spatial_models/structural_bfls.py
imports: import numpy
  from scipy import stats
label_desc: Use image node_id 1 to create a new LandmarkRegions object  with example: obj = LandmarkRegions(domain, k, indiv_coord, subjects, confidence)