code: def resolution(self, channels=None):
          
          # Check default
          if channels is None:
              channels = self._channels
  
          # Get numerical indices of channels
          channels = self._name_to_index(channels)
  
          # Get resolution of the specified channels
          if hasattr(channels, '__iter__') \
                  and not isinstance(channels, six.string_types):
              return [self._resolution[ch] for ch in channels]
          else:
              return self._resolution[channels]
docs: Get the resolution of the specified channel(s).
  
          The resolution specifies the number of different values that the
          events can take. The resolution is directly obtained from the $PnR
          parameter.
  
          Parameters
          ----------
          channels : int, str, list of int, list of str
              Channel(s) for which to get the resolution. If None, return a
              list with the resolution of all channels, in the order of
              ``FCSData.channels``.
  
          Return
          ------
          int or list of ints
              Resolution of the specified channel(s).