Ignore:
Timestamp:
Oct 18, 2019 1:08:35 PM (3 years ago)
Author:
srkline
Message:

Updated help file for VSANS. Graphics were not PNG.

Removed HFIR SANS package since if requires XML XOP - no longer supported.

Improved quality of graphics export for Analysis reports.

Added more support for super_white_beam mode on VSANS

Corrected printf bug (Igor 8) when printing out % sign

Added utilities for patching wavelength and monochromator type on VSANS since the type is still not written out correctly by NICE, and super_white_beam is not yet defined in NICE

Adjusted panel dimensions for the temperature sensor display on VSANS (needed onWindows)

File:
1 edited

Legend:

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

    r1219 r1222  
    372372         
    373373        String collimationStr="" 
    374         String status="",guides="" 
     374        String status="",guides="",typeStr="" 
    375375        variable wb_in=0,slit=0 
    376376         
     
    379379                return("convergingPinholes") 
    380380        endif 
     381 
     382        guides = V_getNumberOfGuides(fname) 
     383        if(cmpstr(guides,"NARROW_SLITS") == 0) 
     384                slit = 1 
     385        endif 
     386         
     387// TODO: still not the correct way to identify the super white beam condition 
     388        typeStr = V_getMonochromatorType(fname) 
     389        if(cmpstr(typeStr,"super_white_beam")==0) 
     390                if(slit == 1) 
     391                        return("narrowSlit_super_white_beam") 
     392                else 
     393                        return("pinhole_super_white_beam") 
     394                endif 
     395        endif 
     396 
    381397 
    382398// TODO: as of 6/2018 with the converging pinholes IN, status is "out" 
     
    391407        endif    
    392408         
    393         guides = V_getNumberOfGuides(fname) 
    394         if(cmpstr(guides,"NARROW_SLITS") == 0) 
    395                 slit = 1 
    396         endif 
     409 
    397410         
    398411        if(wb_in == 1 && slit == 1) 
     
    428441        String typeStr="" 
    429442 
    430 // TODO: if unidentified (all are OUT), then it may be super_white_beam 
     443// TODO: if super_white_beam, this needs to be patched in the header 
    431444//       
    432         typeStr = "super_white_beam" 
     445        typeStr = V_getMonochromatorType(fname) 
     446        if(cmpstr(typeStr,"super_white_beam")==0) 
     447                return(typeStr) 
     448        endif 
    433449         
    434450         
Note: See TracChangeset for help on using the changeset viewer.