Ignore:
Timestamp:
Mar 22, 2019 2:52:55 PM (4 years ago)
Author:
srkline
Message:

many changes to the VCALC procedures to add in the hard/soft shadowing to the calculation, visualization of the shadowed regions, and the actual q-values. Added a separate panel to view the shadowed regions.

simpe fix to the real time routine to allow easy updating of both the raw 2D data and 1-D average

update to the USANS package to handle the new NICE generated data where the data is collected in terms of q-values rather than angle. On startup asks user which style of data they have. Sets a preference that can be un-checked if you have old-style ICP data. (there is nothing in the data file that I can key on).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/NCNR_USANS_Utils.ipf

    r1124 r1133  
    2424         
    2525         
     26 
     27// is the data file from NICE and in terms of QValues rather than angle? 
     28        Variable/G root:Packages:NIST:gRawUSANSisQvalues=1              //== 1 means raw data is in Q, not angle 
     29 
     30        DoAlert 0,"The data loader is set to interpret raw data in Q-values (from NICE), not angle (from ICP). If your raw data was collected from ICP, change this setting using the menu item USANS->NCNR Preferences" 
     31         
    2632        // to convert from angle (in degrees) to Q (in 1/Angstrom) 
    27         Variable/G root:Packages:NIST:USANS:Globals:MainPanel:deg2QConv=5.55e-5         //JGB -- 2/24/01 
     33        // -- or to disable the conversion if the data is "new NICE" (approx Mar 2019) 
     34        NVAR gRawUSANSisQvalues = root:Packages:NIST:gRawUSANSisQvalues 
     35        if(gRawUSANSisQvalues == 1) 
     36                Variable/G root:Packages:NIST:USANS:Globals:MainPanel:deg2QConv = 1             //so that the q-values are unchanged 
     37        else 
     38                Variable/G root:Packages:NIST:USANS:Globals:MainPanel:deg2QConv = 5.55e-5               //JGB -- 2/24/01 
     39        endif 
     40 
     41 
    2842         
    2943        // extension string for the raw data files 
Note: See TracChangeset for help on using the changeset viewer.