Changeset 937 for trunk


Ignore:
Timestamp:
May 11, 2020 1:47:17 PM (2 years ago)
Author:
ilavsky
Message:

Add Triaxial ellipsoid user form factor

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/User Procedures/Irena/IR3_WAXSDiffraction.ipf

    r936 r937  
    33833383        Wave TheCardNew = $((CardName))
    33843384        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
    33863387        if(stringmatch(DimensionUnit,"d_A"))            //manually inserted, dimension is in d and A
    33873388                TheCardNew[][4] =   114.592 * asin((2 * pi / (DistanceCorrection*TheCard[p][0]))* wavelength / (4*pi))
Note: See TracChangeset for help on using the changeset viewer.