def amplification_type(self, channels=None):
        """
        Get the amplification type used for the specified channel(s).

        Each channel uses one of two amplification types: linear or
        logarithmic. This function returns, for each channel, a tuple of
        two numbers, in which the first number indicates the number of
        decades covered by the logarithmic amplifier, and the second
        indicates the linear value corresponding to the channel value zero.
        If the first value is zero, the amplifier used is linear

        The amplification type for channel "n" is extracted from the
        required $PnE parameter.

        Parameters
        ----------
        channels : int, str, list of int, list of str
            Channel(s) for which to get the amplification type. If None,
            return a list with the amplification type of all channels, in
            the order of ``FCSData.channels``.

        Return
        ------
        tuple, or list of tuples
            The amplification type of the specified channel(s). This is
            reported as a tuple, in which the first element indicates how
            many decades the logarithmic amplifier covers, and the second
            indicates the linear value that corresponds to a channel value
            of zero. If the first element is zero, the amplification type
            is linear.

        """
        # Check default
        if channels is None:
            channels = self._channels

        # Get numerical indices of channels
        channels = self._name_to_index(channels)

        # Get detector type of the specified channels
        if hasattr(channels, '__iter__') \
                and not isinstance(channels, six.string_types):
            return [self._amplification_type[ch] for ch in channels]
        else:
            return self._amplification_type[channels]
def amplification_type ( self , channels = None ) : if channels is None : channels = self . _channels channels = self . _name_to_index ( channels ) if hasattr ( channels , '__iter__' ) and not isinstance ( channels , six . string_types ) : return [ self . _amplification_type [ ch ] for ch in channels ] else : return self . _amplification_type [ channels ]
Get the amplification type used for the specified channel(s).

        Each channel uses one of two amplification types: linear or
        logarithmic. This function returns, for each channel, a tuple of
        two numbers, in which the first number indicates the number of
        decades covered by the logarithmic amplifier, and the second
        indicates the linear value corresponding to the channel value zero.
        If the first value is zero, the amplifier used is linear

        The amplification type for channel "n" is extracted from the
        required $PnE parameter.

        Parameters
        ----------
        channels : int, str, list of int, list of str
            Channel(s) for which to get the amplification type. If None,
            return a list with the amplification type of all channels, in
            the order of ``FCSData.channels``.

        Return
        ------
        tuple, or list of tuples
            The amplification type of the specified channel(s). This is
            reported as a tuple, in which the first element indicates how
            many decades the logarithmic amplifier covers, and the second
            indicates the linear value that corresponds to a channel value
            of zero. If the first element is zero, the amplification type
            is linear.