Ignore:
Timestamp:
Apr 29, 2019 12:26:53 PM (4 years ago)
Author:
srkline
Message:

bug fix for Igor 8 - removing the setIgorOption forceCOLORONCOLOR for windows graphics. No longer needed in Igor 8, and generates an error. removed this line in the initialization step in all packages.

bug fix for the defining of a mask for sector averaging in VSANS. beam center in [cm] was incorrectly converted to [pixels]. No other calculations were affected.

File:
1 edited

Legend:

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

    r1117 r1147  
    4444// wavelength    
    4545        if(!V_FP_Value_Match(V_getWavelength,fname1,fname2)) 
     46                Print "Wavelength does not match" 
    4647                return(0)       //no match 
    4748        endif 
     
    4950// wavelength spread 
    5051        if(!V_FP_Value_Match(V_getWavelength_spread,fname1,fname2)) 
     52                Print "Wavelength spread does not match" 
    5153                return(0)       //no match 
    5254        endif 
     
    5456// monochromator type    
    5557        if(!V_String_Value_Match(V_getMonochromatorType,fname1,fname2)) 
     58                Print "Monochromator type does not match" 
    5659                return(0) 
    5760        endif 
     
    5962// number of guides     (or narrow_slit, etc.) 
    6063        if(!V_String_Value_Match(V_getNumberOfGuides,fname1,fname2)) 
     64                Print "Number of guides does not match" 
    6165                return(0) 
    6266        endif 
     
    6973// I DON'T need to check all of the distances, just three will do 
    7074        if(!V_FP2_Value_Match(V_getDet_NominalDistance,fname1,fname2,"FL")) 
     75                Print "Front carriage distance does not match" 
    7176                return(0)       //no match 
    7277        endif 
    7378 
    7479        if(!V_FP2_Value_Match(V_getDet_NominalDistance,fname1,fname2,"ML")) 
     80                Print "Middle carriage distance does not match" 
    7581                return(0)       //no match 
    7682        endif 
    7783         
    7884        if(!V_FP2_Value_Match(V_getDet_NominalDistance,fname1,fname2,"B")) 
     85                Print "Back carriage distance does not match" 
    7986                return(0)       //no match 
    8087        endif 
     
    9097                detStr = StringFromList(ii, ksDetectorListAll, ";") 
    9198                if(!V_FP2_Value_Match(V_getDet_LateralOffset,fname1,fname2,detStr)) 
     99                        Print "Lateral offset does not match for "+detStr 
    92100                        return(0)       //no match 
    93101                endif 
    94102                if(!V_FP2_Value_Match(V_getDet_VerticalOffset,fname1,fname2,detStr)) 
     103                        Print "Vertical offset does not match for "+detStr 
    95104                        return(0)       //no match 
    96105                endif 
     
    102111// source aperture shape, size 
    103112        if(!V_String_Value_Match(V_getSourceAp_shape,fname1,fname2)) 
     113                Print "Source aperture shape does not match" 
    104114                return(0) 
    105115        endif 
    106116// sample aperture shape, size 
    107117        if(!V_String_Value_Match(V_getSampleAp2_shape,fname1,fname2)) 
     118                Print "Sample aperture shape does not match" 
    108119                return(0) 
    109120        endif 
Note: See TracChangeset for help on using the changeset viewer.