Open JunCEEE opened 2 years ago
We will pass the input as a json file.
{
"Sample":{
"File format": "cfg",
"File name": "single-cu.cfg" },
"Detector":{
"twotheta0": 20.0,
"twotheta1": 50.0,
"dtwotheta": 0.5,
"gamma0": 0,
"gamma1":360.0,
"dgamma":0.1,
"dx": [0, 1, 0],
"Normal incidence diraction": [0, 0, -1],
"poni": [0, 0],
"Sample to detector distance (mm)": 250}
"Beam":{
"Incidence direction": [0, 0, -1],
"Transverse diraction": [0, 1, 0] },
"GAPDparameters":{
"Output file name": "diffr"}
}
try
,except
way of handling the import of GAPD (Enable Panosc add-on to be downloaded and installed by Oasys package manager)