code: def _calc_strain_max(self, loc_input, loc_layer, motion, *args):
          
          return motion.calc_peak(
              self.calc_strain_tf(loc_input, loc_layer))
docs: Compute the effective strain at the center of a layer.