Ignore:
Timestamp:
Dec 6, 2017 1:36:11 PM (5 years ago)
Author:
srkline
Message:

woking on routines to correctly reduce data colloected with slit apertures. trying to get the data to absolute scale, with proper errro bars and resolution information.

Still not there yet.

File:
1 edited

Legend:

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

    r1073 r1076  
    193193        // remove the q=0 point from the back detector, if it's there 
    194194        // does not need to know binType 
    195         V_RemoveQ0_B(type) 
     195        NVAR gIgnoreDetB = root:Packages:NIST:VSANS:Globals:gIgnoreDetB 
     196        if(!gIgnoreDetB) 
     197                V_RemoveQ0_B(type) 
     198        endif 
    196199 
    197200// concatenate the data sets 
     
    644647 
    645648 
    646 // 
    647 // returns 1 if the val is non-negative, other value 
    648 // indicates that the resoution data is USANS data. 
    649 // 
    650 // TODO: 
    651 // -- this DUPLICATES a same-named SANS procedure, so there could be a clash at some point 
    652 // -- bigger issue - I'll need a better way to identify and load the different resolution  
    653 //              conditions with VSANS 
    654 // 
    655 // 
    656 Function isSANSResolution(val) 
    657         Variable val 
    658          
    659         if(val >= 0) 
    660                 return(1) 
    661         else 
    662                 return(0) 
    663         endif 
    664 End 
    665  
    666  
     649//// 
     650//// returns 1 if the val is non-negative, other value 
     651//// indicates that the resoution data is USANS data. 
     652//// 
     653//// TODO: 
     654//// -- this DUPLICATES a same-named SANS procedure, so there could be a clash at some point 
     655//// -- bigger issue - I'll need a better way to identify and load the different resolution  
     656////            conditions with VSANS 
     657//// 
     658//// 
     659//xFunction isSANSResolution(val) 
     660//      Variable val 
     661//       
     662//      if(val >= 0) 
     663//              return(1) 
     664//      else 
     665//              return(0) 
     666//      endif 
     667//End 
     668 
     669 
Note: See TracChangeset for help on using the changeset viewer.