Ignore:
Timestamp:
Oct 18, 2018 12:09:16 PM (4 years ago)
Author:
srkline
Message:

extensive changes to accomodate 1x1 binning of the HighRes? detector. It is implemented as a global flag. Currently only 4x4 and 1x1 are allowed. 1x1 has never been tested in reality, only simulated data - so my assumed dimensions may not be correct. look for TODOHIGHRES in the file for places that may need to be updated for different file dimensions. Testing of the simulated data is proving to be excruciatingly slow, but passable for a test. Speed optimization will be needed if this is the final solution. Memory management will also be an issue since every "copy" of the highRes matrix is enormous. Carry as few of these around as possible in the future to keep the experiment size to something reasonable.

File:
1 edited

Legend:

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

    r1109 r1117  
    9494        val = NumVarOrDefault("root:Packages:NIST:VSANS:Globals:gIgnoreDetB", 1 ) 
    9595        Variable/G root:Packages:NIST:VSANS:Globals:gIgnoreDetB = 1 
    96                  
     96 
     97// TODOHIGHRES 
     98// OCT 2018 
     99// new global to flag the highRes detector binning to accomodate the change in binning 
     100//  that was set 10/16/18 (changed from 4x4 bin to 1x1= no binning) 
     101// set this flag == 1 for 1x1 
     102// set flag 4 == 4x4 
     103        Variable/G root:Packages:NIST:VSANS:Globals:gHighResBinning = 4 
     104                         
    97105        DoAlert 1,"Are you using the back detector? (This can be changed later in the Preferences Panel)" 
    98106        if(V_flag == 1) 
    99107                // yes 
    100108                Variable/G root:Packages:NIST:VSANS:Globals:gIgnoreDetB = 0 
     109                DoAlert 1,"Are you using 1x1 binning?" 
     110                if(V_flag == 1) 
     111                        // yes 
     112                        Variable/G root:Packages:NIST:VSANS:Globals:gHighResBinning = 1 
     113                endif 
    101114        endif 
    102115         
Note: See TracChangeset for help on using the changeset viewer.