Calculator.py
def _get_interface_position_list_(self):
        """helper method for computing field profile
        
        Interfaces include entrance interface (defined as z=0) and exit interface (z=thickness of LayeredMedium). 
        
        Return:
             an 1d numpy array of z position of interfaces
        
        """
        T = self.transferMatrix
        thickness = 0
        list = [0]
        num_layer = T.layerIndex-2
        for i in range(2,num_layer+2):
            d = T.layerDictionary['L'+str(i)].get_thickness()
            thickness += d
            list = np.append(list,thickness)
        return list
helper method for computing field profile
        
        Interfaces include entrance interface (defined as z=0) and exit interface (z=thickness of LayeredMedium). 
        
        Return:
             an 1d numpy array of z position of interfaces
        
        
helper method for computing field profile
Interfaces include entrance interface (defined as z=0) and exit interface (z=thickness of LayeredMedium).

an 1d numpy array of z position of interfaces
helper method for computing field profile Interfaces include entrance interface ( defined as z = 0 ) and exit interface ( z = thickness of LayeredMedium ) . an 1d numpy array of z position of interfaces
def _get_interface_position_list_(self):
        T = self.transferMatrix
        thickness = 0
        list = [0]
        num_layer = T.layerIndex-2
        for i in range(2,num_layer+2):
            d = T.layerDictionary['L'+str(i)].get_thickness()
            thickness += d
            list = np.append(list,thickness)
        return list
def _get_interface_position_list_ ( self ) : T = self . transferMatrix thickness = 0 list = [ 0 ] num_layer = T . layerIndex - 2 for i in range ( 2 , num_layer + 2 ) : d = T . layerDictionary [ 'L' + str ( i ) ] . get_thickness ( ) thickness += d list = np . append ( list , thickness ) return list
helper method for computing field profile
Interfaces include entrance interface (defined as z=0) and exit interface (z=thickness of LayeredMedium).
helper method for computing field profile Interfaces include entrance interface ( defined as z = 0 ) and exit interface ( z = thickness of LayeredMedium ) .
"""helper method for computing field profile
        
        Interfaces include entrance interface (defined as z=0) and exit interface (z=thickness of LayeredMedium). 
        
        Return:
             an 1d numpy array of z position of interfaces
        
        """
self