def select(self, selections):
        '''Make a selection in this
        representation. BallAndStickRenderer support selections of
        atoms and bonds.
        
        To select the first atom and the first bond you can use the
        following code::
        
            from chemlab.mviewer.state import Selection        
            representation.select({'atoms': Selection([0], system.n_atoms),
                                   'bonds': Selection([0], system.n_bonds)})

        Returns the current Selection
        '''
        if 'atoms' in selections:
            self.selection_state['atoms'] = selections['atoms']
            self.on_atom_selection_changed()

        if 'bonds' in selections:
            self.selection_state['bonds'] = selections['bonds']
            self.on_bond_selection_changed()

        if 'box' in selections:
            self.selection_state['box'] = selections['box']

        return self.selection_state
Make a selection in this
        representation. BallAndStickRenderer support selections of
        atoms and bonds.
        
        To select the first atom and the first bond you can use the
        following code::
        
            from chemlab.mviewer.state import Selection        
            representation.select({'atoms': Selection([0], system.n_atoms),
                                   'bonds': Selection([0], system.n_bonds)})

        Returns the current Selection