(self, lonlat=False)
Get the center of the projection.

        Input:
          - lonlat : if True, will return longitude and latitude in degree,
                     otherwise, theta and phi in radian
        Return:
          - theta,phi or lonlat depending on lonlat keyword
Get the center of the projection.
Get the center of the projection .
def get_center(self, lonlat=False):
        """Get the center of the projection.

        Input:
          - lonlat : if True, will return longitude and latitude in degree,
                     otherwise, theta and phi in radian
        Return:
          - theta,phi or lonlat depending on lonlat keyword
        """
        lon, lat = np.asarray(self.rotator.rots[0][0:2]) * 180 / pi
        if lonlat:
            return lon, lat
        else:
            return pi / 2.0 - lat * dtor, lon * dtor
def get_center ( self , lonlat = False ) : lon , lat = np . asarray ( self . rotator . rots [ 0 ] [ 0 : 2 ] ) * 180 / pi if lonlat : return lon , lat else : return pi / 2.0 - lat * dtor , lon * dtor