Add code for 1D detector #69

Merged
usov_i merged 118 commits from det1d into master 2020-10-22 12:07:50 +02:00
14 changed files with 769 additions and 818 deletions
Showing only changes of commit e5e824eb4c - Show all commits

View File

@ -1,11 +1,16 @@
import math
import numpy as np
from matplotlib import pyplot as plt
from scipy.optimize import curve_fit
import pyzebra
try:
from matplotlib import pyplot as plt
except ImportError:
print("matplotlib is not available")
def z4frgn(wave, ga, nu):
"""CALCULATES DIFFRACTION VECTOR IN LAB SYSTEM FROM GA AND NU