(self)
Returns the final resolutions.
Returns the final resolutions.
Returns the final resolutions .
def final_resolutions(self):
    """Returns the final resolutions."""
    if self._scale_mode == 'ALL':
      return tuple(r * self.scale_factor(1) for r in self._start_resolutions)
    elif self._scale_mode == 'H':
      return tuple([self._start_resolutions[0] * self.scale_factor(1)] +
                   list(self._start_resolutions[1:]))
    else:
      self._raise_unsupported_scale_mode_error()
def final_resolutions ( self ) : if self . _scale_mode == 'ALL' : return tuple ( r * self . scale_factor ( 1 ) for r in self . _start_resolutions ) elif self . _scale_mode == 'H' : return tuple ( [ self . _start_resolutions [ 0 ] * self . scale_factor ( 1 ) ] + list ( self . _start_resolutions [ 1 : ] ) ) else : self . _raise_unsupported_scale_mode_error ( )