-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrial.py
More file actions
35 lines (25 loc) · 846 Bytes
/
trial.py
File metadata and controls
35 lines (25 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from LaserPy_Quantum.SpecializedComponents.PhotonPairGenerator import PhotonPairGeneratorCrystal
from LaserPy_Quantum.utils.RefractiveMaterials import Birefringent, SellmeierFormula
from LaserPy_Quantum.Photon import Photon
from LaserPy_Quantum.Constants import UniversalConstants
from numpy import pi
# deff = 2.2e-12
# Crystal_length = 2e-3
BBO = Birefringent(
SellmeierFormula((2.7359,0.01878,0.01822,0.01354)),
SellmeierFormula((2.3753,0.01224,0.01667,0.01516)),
name="BBO"
)
SPDC = PhotonPairGeneratorCrystal(
refractive_material= BBO,
SPDC_type= 'II',
)
#print(BBO.n(810e-9, 'H'))
#exit()
############################################################################
pump = Photon(
frequency = 2 * pi * UniversalConstants.C.value/ 405e-9,
field = 3e4 + 0j,
photon_number = 1e5
)
SPDC.simulate(pump)