AkB2010 extended and adjusted for use in the new Swiss Hazard model [2014]

AkB2010 extended and adjusted for use in the new Swiss Hazard model [2014]
This method is not very readable. I would suggest you to move all the logic related to the 'adjustments' into a separate method, say (def _apply_adjustments(…):), then the main method could be:

mean, stddevs = super(AkkarBommer2010SWISS01, self).\
            get_mean_and_stddevs(sites, rup, dists, imt, stddev_types)

mean, stddevs = _apply_adjustements(…)

return mean, stddevs