def __init__(self, L=100.0, W=1.0, eta=0.0, N=2.5, theta=0.0, **base_kwargs): """Exceptional Point (EP) waveguide class. Copies methods and variables from the Base class and adds new parameters. Additional parameters: ---------------------- L, W: float Waveguide length/width N: float Number of open modes eta: float Dissipation coefficient theta: float Phase difference between upper and lower boundary """ Base.__init__(self, T=L, **base_kwargs) self.L = L self.W = W self.N = N self.eta = eta self.theta = theta self.k = lambda n: np.sqrt(N**2 - n**2)*np.pi/W self.kF = N*np.pi/W
def __init__(self, R=0.05, gamma=2.0, **kwargs): """Exceptional Points (EP) optomechanics class. Copies methods and variables from Base class. Additional parameters: ---------------------- R: float Trajectory radius around the EP. gamma: float Relative loss between states |1> and |2>. """ Base.__init__(self, **kwargs) self.R = R self.gamma = gamma self.x_EP = 0.0 self.y_EP = gamma/2.
def __init__(self, **kwargs): """Copy methods and variables from Base class.""" Base.__init__(self, **kwargs)