Ignore:
Timestamp:
Sep 5, 2019 3:00:05 PM (3 years ago)
Author:
srkline
Message:

Corrected attenuator table for VSANS to include the range 4.52->19. Patching of the attenuation factor is disabled since the factor is always calculated rather than read from the file.

Added a few help links in preparation for the full help file integration

Added a "super" white beam distribution definition and a single model function for testing of this new mode. Still need the normalization and mean wavelength for the distribution + a way to identify it in the file metadata.

File:
1 edited

Legend:

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

    r1114 r1203  
    10691069        SetVariable ERSelSlice,proc=V_ChangeSliceViewSetVar 
    10701070 
    1071         Button ToSTOButton,pos={305,45},size={100,20},proc=V_EVR_LoadAndSTO,title="to STO" 
     1071        Button ToSTOButton,pos={305,45},size={100,20},proc=V_EVR_LoadAndSTO,title="Load to STO" 
    10721072        Button ToSTOButton,help={"Load the event file and copy to STO"} 
    10731073 
     
    12401240// locates the time bins and shows the time bin table (and plot?) 
    12411241// 
     1242// Can't show the plot of counts/bin since there would be 8 of these now, one for 
     1243// each panel. Could show a total count per slice, but the numbers (binCount) is currently 
     1244// not written to the Event_ file. 
     1245// 
     1246// the macro that is called from the main Event panel shows the total counts/bin for the carriage 
     1247// that is active. Maybe this would be OK, but then there are still two sets of data, one for 
     1248// Front and one for Middle... 
     1249// 
    12421250Function V_EVR_TimeBins(PathButton) : ButtonControl 
    12431251        String PathButton 
     
    12471255 
    12481256        edit binEnd,timeWidth 
     1257         
     1258//      DoWindow/F V_EventBarGraph 
     1259//      if(V_flag == 0) 
     1260//              PauseUpdate; Silent 1           // building window... 
     1261//              String fldrSav0= GetDataFolder(1) 
     1262//              SetDataFolder root:Packages:NIST:VSANS:Event: 
     1263//              Display /W=(110,705,610,1132)/N=V_EventBarGraph /K=1 binCount vs binEndTime 
     1264//              SetDataFolder fldrSav0 
     1265//              ModifyGraph mode=5 
     1266//              ModifyGraph marker=19 
     1267//              ModifyGraph lSize=2 
     1268//              ModifyGraph rgb=(0,0,0) 
     1269//              ModifyGraph msize=2 
     1270//              ModifyGraph hbFill=2 
     1271//              ModifyGraph gaps=0 
     1272//              ModifyGraph usePlusRGB=1 
     1273//              ModifyGraph toMode=0 
     1274//              ModifyGraph useBarStrokeRGB=1 
     1275//              ModifyGraph standoff=0 
     1276//              SetAxis left 0,* 
     1277//              Label bottom "\\Z14Time (seconds)" 
     1278//              Label left "\\Z14Number of Events" 
     1279//      endif 
     1280         
    12491281         
    12501282        return(0) 
Note: See TracChangeset for help on using the changeset viewer.