Ignore:
Timestamp:
Mar 17, 2016 5:00:30 PM (7 years ago)
Author:
srkline
Message:

lots of changes to how VCALC simulations can be written to Nexus files to effectively make test data with different callues before the virtual machine is ready. many changes for visualization to effectively handle zeros in log scaled images

File:
1 edited

Legend:

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

    r982 r987  
    5353        strswitch(funcStr) 
    5454                case "Big Debye": 
    55                         tmpInten = VC_Debye(10,3000,0.0001,qTot[p][q]) 
     55                        tmpInten = VC_Debye(100,3000,0.0001,qTot[p][q]) 
    5656                        break 
    5757                case "Big Sphere": 
     
    8080        endswitch 
    8181 
     82// TODO: this is faked to get around the singularity at the center of the back detector 
     83// 
     84//  
     85        if(cmpstr(type,"B") == 0) 
     86                Variable nx,ny,px,py 
     87                nx = VCALC_get_nPix_X(type) 
     88                ny = VCALC_get_nPix_Y(type) 
     89                px = trunc(nx/2) 
     90                py = trunc(ny/2) 
     91                 
     92                tmpInten[px][py] = (tmpInten[px][py+1] + tmpInten[px][py-1])/2 
     93        endif 
     94 
     95 
    8296 
    8397/////////////// 
Note: See TracChangeset for help on using the changeset viewer.