Skip to content
Snippets Groups Projects
Commit 77d8b636 authored by Bernabeu Lou's avatar Bernabeu Lou
Browse files

No need for coef function : complex(real, imag) already does the job

parent 1136ed51
No related branches found
No related tags found
No related merge requests found
......@@ -19,14 +19,6 @@ class Plate:
self.theta = theta
self.orientation = orientation
def coef(real, imag):
a = 0
if real != 0:
a = real
if imag != 0:
a+= imag*1j
return(a)
class Photon:
def __init__(self, state0, state1):
self.state0 = [state0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment