code: def _confirm_resolution(self, implemented_res):
          ''' Control on resolution '''
  
          assert self.ppd in implemented_res, \
              ' Resolution %d ppd not implemented yet\n.\
              Consider using one of the implemented resolutions %s'\
              % (self.ppd, ', '.join([f + ' ppd' for f in map(str, implemented_res)]))
  
          if self.ppd == 256:
              assert (np.abs(self.latM) < 60) and (np.abs(self.latm) < 60),\
                  'This resolution is available in\n \
                  in cylindrical geometry only for -60<latitude<60 f _confirm_resolution(self, implemented_res):
          ''' Control on resolution '''
  
          assert self.ppd in implemented_res, \
              ' Resolution %d ppd not implemented yet\n.\
              Consider using one of the implemented resolutions %s'\
              % (self.ppd, ', '.join([f + ' ppd' for f in map(str, implemented_res)]))
  
          if self.ppd == 256:
              assert (np.abs(self.latM) < 60) and (np.abs(self.latm) < 60),\
                  'This resolution is available in\n \
                  in cylindrical geometry only for -60<latitude<60 '
docs: Control on resolution