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_PatchFiles.ipf

    r1151 r1203  
    455455        SelWave[][0] = 2^5              // checkboxes 
    456456        SelWave[][2] = 2^1              // 3rd column editable 
    457          
     457 
     458// 
     459// TODO - the attenuation factor is always calculated from the table. How do I devise a method to  
     460// overrride this behavior if a factor needs to be forced to a new value (old table, lambda out of range, etc.)? 
     461//       
     462// currently, this simply prevents anyone from "patching" the header, which really doesn't work as intended 
     463// 
     464        SelWave[0][0] += 2^7            // disable the checkbox for attenuator 
     465        SelWave[1][0] += 2^7            // disable the checkbox for attenuator_err 
    458466         
    459467        listWave[0][1] = "attenuator_transmission" 
     
    498506        listWave[13][1] = "beam stop diameter (Middle) [mm]" 
    499507//      listWave[13][2] = num2str(V_getBeamStopC2_size(fname))   
    500         listWave[13][2] = num2str(V_DeduceBeamstopDiameter(fname,"MR"))  
     508        listWave[13][2] = num2str(V_IdentifyBeamstopDiameter(fname,"MR"))        
    501509         
    502510        listWave[14][1] = "beam stop diameter (Back) [mm]" 
    503511//      listWave[14][2] = num2str(V_getBeamStopC3_size(fname))   
    504         listWave[14][2] = num2str(V_DeduceBeamstopDiameter(fname,"B"))   
     512        listWave[14][2] = num2str(V_IdentifyBeamstopDiameter(fname,"B"))         
    505513 
    506514        listWave[15][1] = "sample aperture(2) to gate valve [cm]" 
Note: See TracChangeset for help on using the changeset viewer.