parameters: (self, rhoa)
return_statement: return super(VESModelling, self).createStartModel()
docstring: r"""
docstring_summary: r"""
docstring_tokens: r
function: def createStartModel(self, rhoa):
          r"""
          """
          if self.nLayers == 0:
              pg.critical("Model space is not been initialized.")
  
          startThicks = np.logspace(np.log10(min(self.mn2)/2),
                                    np.log10(max(self.ab2)/5),
                                    self.nLayers - 1)
          startThicks = pg.utils.diff(pg.cat([0.0], startThicks))
  
          # layer thickness properties
          self.setRegionProperties(0, startModel=startThicks, trans='log')
  
          # resistivity properties
          self.setRegionProperties(1, startModel=np.median(rhoa), trans='log')
  
          return super(VESModelling, self).createStartModel()
function_tokens: def createStartModel ( self , rhoa ) : if self . nLayers == 0 : pg . critical ( "Model space is not been initialized." ) startThicks = np . logspace ( np . log10 ( min ( self . mn2 ) / 2 ) , np . log10 ( max ( self . ab2 ) / 5 ) , self . nLayers - 1 ) startThicks = pg . utils . diff ( pg . cat ( [ 0.0 ] , startThicks ) ) # layer thickness properties self . setRegionProperties ( 0 , startModel = startThicks , trans = 'log' ) # resistivity properties self . setRegionProperties ( 1 , startModel = np . median ( rhoa ) , trans = 'log' ) return super ( VESModelling , self ) . createStartModel ( )