#NEWLINE# def get_elements( self , elements_list ) : #NEWLINE# #INDENT# '\n        When we work with ensembles it is better to return a single prody ensemble with all\n        the elements we want.\n        Returns a copy! Modifying it does not modify the stored structure.\n        ' #NEWLINE# element_coordinates = self . structure_ensemble . getCoordsets ( ) [ elements_list ] #NEWLINE# structure = self . structure_ensemble . copy ( ) #NEWLINE# removeAllCoordsetsFromStructure ( structure ) #NEWLINE# for coordset in element_coordinates : #NEWLINE# #INDENT# structure . addCoordset ( coordset ) #NEWLINE# #UNINDENT# return structure