code: def get_mean_and_stddevs(self, sites, rup, dists, imt, stddev_types):
          
          # extracting dictionary of coefficients specific to required
          # intensity measure type.
  
          C = self.COEFFS[imt]
          imean = self._get_mean(C, rup, dists, sites)
          if imt.name in "SA PGA":
              # Convert units to g,
              # but only for PGA and SA (not PGV):
              mean = np.log((10.0 ** (imean - 2.0)) / g)
          else:
              # PGV:
              mean = np.log(10.0 ** imean)
  
          istddevs = self._get_stddevs(C, stddev_types, len(sites.vs30))
          stddevs = np.log(10.0 ** np.array(istddevs))
          return mean + self.adjustment_factor, stddevs
docs: See :meth:`superclass method
          <.base.GroundShakingIntensityModel.get_mean_and_stddevs>`
          for spec of input and result values.