File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import numpy as np
55import os
66
7-
87""" Following example shows how the phasematching (M) factors can be calculated in a 2_dimensional
98manner and converted to a WrightTools data object. Other methods can be employed such as use
109in a WrightSim object or in other simulations. The other methods found in the phasematching script
Original file line number Diff line number Diff line change 55import os
66from sympy import *
77
8-
98filepath = os .path .join (os .getcwd (), "tests" )
109lay1file = os .path .join (filepath , "CaF2_Malitson.txt" )
1110
Original file line number Diff line number Diff line change 55import os
66from sympy import *
77
8-
98"""Example 3. Simulation of a map of expected angles to achieve phasematching in the liquid layer
109of a multilayer cell. Plots separate both possible solutions (negative and positive)."""
1110
Original file line number Diff line number Diff line change 55import os
66from sympy import *
77
8-
98filepath = os .path .join (os .getcwd (), "tests" )
109lay1file = os .path .join (filepath , "CH3CN_paste_1.txt" )
1110lay2file = os .path .join (filepath , "sapphire1.txt" )
Original file line number Diff line number Diff line change 55import os
66from sympy import *
77
8-
98filepath = os .path .join (os .getcwd (), "tests" )
109lay3file = os .path .join (filepath , "CaF2_Malitson.txt" )
1110lay4file = os .path .join (filepath , "CH3CN_paste_1.txt" )
Original file line number Diff line number Diff line change 55import os
66from sympy import *
77
8-
98filepath = os .path .join (os .getcwd (), "tests" )
109lay3file = os .path .join (filepath , "CaF2_Malitson.txt" )
1110lay4file = os .path .join (filepath , "CH3CN_paste_1.txt" )
Original file line number Diff line number Diff line change 55import os
66from sympy import *
77
8-
98filepath = os .path .join (os .getcwd (), "tests" )
109lay1file = os .path .join (filepath , "sapphire1.txt" )
1110lay2file = os .path .join (filepath , "H2O_1.txt" )
Original file line number Diff line number Diff line change 11import phasematching_calc as pc
22import os
33
4-
54"""Test Requires R/W permissions in tests folder."""
65
76
You can’t perform that action at this time.
0 commit comments