Add new snippets
This commit is contained in:
parent
006cddaaa3
commit
07f304ce97
1 changed files with 9 additions and 2 deletions
|
|
@ -3,12 +3,19 @@
|
|||
"capillary": [
|
||||
"local !packing_density {} min 0.1 max 1.0 'typically 0.2 to 0.5",
|
||||
"local !capdia {} 'capillary diameter in mm",
|
||||
"local !linab = Get(mixture_MAC) Get(mixture_density_g_on_cm3);: 'in cm-1",
|
||||
"local !linab = Get(mixture_MAC) Get(mixture_density_g_on_cm3);: 100 'in cm-1",
|
||||
"local muR = (capdia/20)*linab*packing_density;",
|
||||
"Cylindrical_I_Correction(muR)"
|
||||
],
|
||||
"gauss_fwhm": "gauss_fwhm = Sqrt({} Cos(2 * Th)^4 + {} Cos(2 * Th)^2 + {});",
|
||||
"lp_factor": "LP_Factor({}) 'change the LP correction or lh value if required",
|
||||
"wavelength": "lam ymin_on_ymax 0.0001 la 1.0 lo {} lh 0.1",
|
||||
"zero_error": "Zero_Error(zero, 0)"
|
||||
"zero_error": "Zero_Error(zero, 0)",
|
||||
"th2_offset": [
|
||||
"prm zero \t\t\t0 \t\t\t\tmin = Max(Val - 20 Yobs_dx_at(X1), -100 Yobs_dx_at(X1)); max = Min(Val + 20 Yobs_dx_at(X2), 100 Yobs_dx_at(X2)); del = .01 Yobs_dx_at(X1); val_on_continue 0",
|
||||
"prm cos_shift \t\t0 \t\t\t\tmin = Val-.8; max = Val+.8; del 0.001",
|
||||
"prm sin_shift \t\t0 \t\t\t\tmin = Val-.8; max = Val+.8; del 0.001",
|
||||
"th2_offset = (zero) + (cos_shift) Cos(Th) + (sin_shift) Sin(Th) ;"
|
||||
],
|
||||
"fit_peak_width": "DC1( ad, 0, bd, 0, cd, 0)"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue