code: def get_regionalisation(self, strain_model):
          '''
          Gets the tectonic region type for every element inside the strain model
  
          :paramm strain_model:
              Input strain model as instance of
              openquake.hmtk.strain.geodetic_strain.GeodeticStrain
  
  
          :returns:
              Strain model with complete regionalisation
          '''
          self.strain = strain_model
          self.strain.data['region'] = np.array(
              ['IPL'
               for _ in range(self.strain.get_number_observations())],
              dtype='|S13')
          self.strain.data['area'] = np.array(
              [np.nan
               for _ in range(self.strain.get_number_observations())])
  
          regional_model = self.define_kreemer_regionalisation()
          for polygon in regional_model:
              self._point_in_tectonic_region(polygon)
          return self.straif get_regionalisation(self, strain_model):
          '''
          Gets the tectonic region type for every element inside the strain model
  
          :paramm strain_model:
              Input strain model as instance of
              openquake.hmtk.strain.geodetic_strain.GeodeticStrain
  
  
          :returns:
              Strain model with complete regionalisation
          '''
          self.strain = strain_model
          self.strain.data['region'] = np.array(
              ['IPL'
               for _ in range(self.strain.get_number_observations())],
              dtype='|S13')
          self.strain.data['area'] = np.array(
              [np.nan
               for _ in range(self.strain.get_number_observations())])
  
          regional_model = self.define_kreemer_regionalisation()
          for polygon in regional_model:
              self._point_in_tectonic_region(polygon)
          return self.strain
docs: Gets the tectonic region type for every element inside the strain model
  
          :paramm strain_model:
              Input strain model as instance of
              openquake.hmtk.strain.geodetic_strain.GeodeticStrain
  
  
          :returns:
              Strain model with complete regionalisation