def get_channel_info(self):
        """ Returns a dictionary of channel information key/value pairs.
        """
        self.assert_open()
        channel_info = self.handle[self.global_key + 'channel_id'].attrs.items()
        channel_info = {key: _clean(value) for key, value in channel_info}
        channel_info['channel_number'] = int(channel_info['channel_number'])
        return channel_info
def get_channel_info ( self ) : self . assert_open ( ) channel_info = self . handle [ self . global_key + 'channel_id' ] . attrs . items ( ) channel_info = { key : _clean ( value ) for key , value in channel_info } channel_info [ 'channel_number' ] = int ( channel_info [ 'channel_number' ] ) return channel_info
Returns a dictionary of channel information key/value pairs.