Ignore:
Timestamp:
Apr 5, 2019 3:11:26 PM (4 years ago)
Author:
srkline
Message:

updates to the beam center corrections that take into account the lateral variation of zero points of the tubes. This is an important correction to the reference beam center, especially when the graphite monochrmoator is used.

various bug fixes included as part of reduction , largely to catch missing or incorrect information in the file header.

New "patch" functions have been added for number of guides, beam stops, source aperture, etc. which were missing in the file and caused the resolution calculation to be totally incorrect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_DataPlotting.ipf

    r1129 r1141  
    8787//              SetVariable expc,limits={-10,10,0},value= root:Packages:NIST:VSANS:Globals:Plot_1d:gExpC 
    8888                 
    89                 Button AllQ,pos={320,28},size={70,20},proc=V_AllQ_Plot_1D_ButtonProc,title="All Q" 
     89                Button AllQ,pos={320,15},size={70,20},proc=V_AllQ_Plot_1D_ButtonProc,title="All Q" 
    9090                Button AllQ,help={"Show the full q-range of the dataset"} 
    91                  
     91 
     92                Button Offset,pos={320,38},size={70,20},proc=V_RemoveOffset_ButtonProc,title="No Offset" 
     93                Button Offset,help={"Remove the offset"} 
     94                                 
    9295                Legend/C/N=text0/J/X=72.00/Y=60.00 
    9396        endif 
     
    385388 
    386389 
     390//function to remove the trace offset 
     391Function V_RemoveOffset_ButtonProc(ctrlName) : ButtonControl 
     392        String ctrlName 
     393         
     394        ModifyGraph muloffset={0,0} 
     395        return(0) 
     396End 
     397 
     398 
    387399//function to restore the graph axes to full scale, undoing any zooming 
    388400Function V_AllQ_Plot_1D_ButtonProc(ctrlName) : ButtonControl 
     
    390402         
    391403        SetAxis/A 
     404        return(0) 
    392405End 
    393406 
Note: See TracChangeset for help on using the changeset viewer.