PaNOSC-ViNYL / ViNYL-project

This repository keeps track of tasks, milestones, deliverables of workpackage 5 in panosc.
Apache License 2.0
5 stars 5 forks source link

Oasys example for diffraction #89

Open JunCEEE opened 2 years ago

aljosahafner commented 2 years ago
  1. Commit and push the try, except way of handling the import of GAPD (Enable Panosc add-on to be downloaded and installed by Oasys package manager)
  2. Work on GAPD UI and results presentation
  3. Write a short documentation on installing GAPD (for the add-on)
aljosahafner commented 2 years ago
  1. done, work on 2. and 3.
aljosahafner commented 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"}
}