Changeset 937 for trunk/User Procedures/Irena/IR3_WAXSDiffraction.ipf
- Timestamp:
- May 11, 2020 1:47:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/User Procedures/Irena/IR3_WAXSDiffraction.ipf
r936 r937 3383 3383 Wave TheCardNew = $((CardName)) 3384 3384 string DimensionUnit=GetDimLabel(TheCardNew, 1, 0 ) 3385 NVAR DistanceCorrection = root:Packages:Irena:WAXS:DistanceCorrection //when DistanceCorrection=1, distacne calibration is perfect, based on my sketch, correction is linear fix. 3385 NVAR DistanceCorrection = root:Packages:Irena:WAXS:DistanceCorrection //when DistanceCorrection=1, distacne calibration is perfect, 3386 // based on my sketch, correction is linear fix. actually, approximately (small angle approximation) d = Lambda*Distance/Radius 3386 3387 if(stringmatch(DimensionUnit,"d_A")) //manually inserted, dimension is in d and A 3387 3388 TheCardNew[][4] = 114.592 * asin((2 * pi / (DistanceCorrection*TheCard[p][0]))* wavelength / (4*pi))
Note: See TracChangeset
for help on using the changeset viewer.