code: def calczmax(self,*args,**kwargs): #pragma: no cover
          
          warnings.warn("actionAngleAdiabatic.calczmax function will soon be deprecated; please contact galpy's maintainer if you require this function")
          #Set up the actionAngleAxi object
          self._parse_eval_args(*args)
          if isinstance(self._pot,list):
              thispot= [p.toPlanar() for p in self._pot]
          else:
              thispot= self._pot.toPlanar()
          if isinstance(self._pot,list):
              thisverticalpot= [p.toVertical(self._eval_R) for p in self._pot]
          else:
              thisverticalpot= self._pot.toVertical(self._eval_R)
          aAAxi= actionAngleAxi(*args,pot=thispot,
                                 verticalPot=thisverticalpot,
                                 gamma=self._gamma)
          return aAAxi.calczmax(**kwargs)
docs: NAME:
             calczmax
          PURPOSE:
             calculate the maximum height
          INPUT:
             Either:
                a) R,vR,vT,z,vz
                b) Orbit instance: initial condition used if that's it, orbit(t)
                   if there is a time given as well
          OUTPUT:
             zmax
          HISTORY:
             2012-06-01 - Written - Bovy (IAS)