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/Main_USANS.ipf

    r807 r1133  
    252252        ModifyGraph axisEnab(bottom1)={0.1,1},gridEnab(bottom1)={0.1,1} 
    253253        ErrorBars/T=0 DetCts Y,wave=(ErrDetCts,ErrDetCts) 
    254         TextBox/F=0/E=2/A=MB/Y=2/N=text1 "Angle" 
     254         
     255        if(root:Packages:NIST:gRawUSANSisQvalues == 1) 
     256                TextBox/F=0/E=2/A=MB/Y=2/N=text1 "Q (1/A)" 
     257                ModifyGraph log(bottom1)=1 
     258        else 
     259                TextBox/F=0/E=2/A=MB/Y=2/N=text1 "Angle" 
     260        endif 
     261         
     262         
    255263        TextBox/F=0/O=90/E=2/A=LC/X=2/N=text2 "Counts" 
    256264        //TextBox/N=text1/A=RC/X=0.50/Y=-2 textStr 
     
    397405         
    398406        //find the peak and convert to Q-values 
     407        // MAR 2019 
     408        // for new NICE raw data collected in terms of q-values rather than angle, all of these function still  
     409        // work correctly, even though they are named "angle". The conversion is simply set to == 1 so that 
     410        // q == q 
    399411        Variable zeroAngle = FindZeroAngle("SAM") 
    400412        if(zeroAngle == -9999) 
Note: See TracChangeset for help on using the changeset viewer.