code: def get_mean_and_stddevs(self, sites, rup, dists, imt, stddev_types):
          
          assert all(stddev_type in self.DEFINED_FOR_STANDARD_DEVIATION_TYPES
                     for stddev_type in stddev_types)
  
          C = self.COEFFS[imt]
          mean = (self._get_magnitude_scaling(C, rup.mag) +
                  self._get_distance_scaling(C, rup.mag, dists.rhypo))
          if imt.name in "SA PGA":
              mean = np.log(np.exp(mean) / (100.0 * g))
          stddevs = self._compute_std(C, stddev_types, len(dists.rhypo))
          return mean, stddevs
docs: See :meth:`superclass method
          <.base.GroundShakingIntensityModel.get_mean_and_stddevs>`
          for spec of input and result values.