#NEWLINE# def get_structure( self ) : #NEWLINE# #INDENT# self . layer_sequence = self . expand_sequence ( self . film_structure ) #NEWLINE# for layer in self . layer_sequence . split ( '/' ) : #NEWLINE# #INDENT# tag = 'film' #NEWLINE# words = layer . split ( '(' ) #NEWLINE# material = words [ 0 ] #NEWLINE# if ( len ( words ) == 1 ) : #NEWLINE# #INDENT# ( tag , thickness ) = ( 'substrate' , '100000.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ( tag , thickness ) = ( 'film' , words [ 1 ] [ : ( - 1 ) ] ) #NEWLINE# #UNINDENT# self . layers . append ( FilmLayer ( composition = material , thickness = thickness , tag = tag ) ) #NEWLINE# #UNINDENT# self . layers . append ( FilmLayer ( composition = 'He' , density = 1e-10 , thickness = 0 , tag = 'vacuum' ) )