Ignore:
Timestamp:
Feb 17, 2017 1:55:05 PM (6 years ago)
Author:
srkline
Message:

many additions.

Moved unused igor/nexus testing files to Vx_ prefix since they're garbage. Pulled out the useful bits for mask and div R/W and moved those to theire appropriate procedures.

Testing the simple correction of data, only tested basic subtraction. All of it still needs to be verified since I don't have any real header numbers and units yet.

Adjusted the columns on the file catalog to be more appropriate, and added a hook to allow loading of raw data files directly from the table and a popup contextual menu. May add more functionality to it later.

Corrected how the 1D data is plotted so that it correctly uses the binning type. I(q) save now also uses the binning as specified.

File:
1 edited

Legend:

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

    r1022 r1023  
    7070                        break 
    7171                case "AgBeh": 
    72                         tmpInten = VC_BroadPeak(1e-9,3,20,100.0,0.1,3,0.1,qTot[p][q]) 
     72                        tmpInten = VC_BroadPeak(1e-11,3,20,100.0,0.1,3,0.1,qTot[p][q]) 
    7373                        break 
    7474                case "Vycor": 
     
    7676                        break    
    7777                case "Empty Cell": 
    78                         tmpInten = VC_EC_Empirical(2.2e-8,3.346,0.0065,9.0,0.016,qTot[p][q]) 
     78                        tmpInten = VC_EC_Empirical(2.2e-12,3.346,0.0065,9.0,0.016,qTot[p][q]) 
    7979                        break 
    8080                case "Blocked Beam": 
    81                         tmpInten = VC_BlockedBeam(1,qTot[p][q]) 
     81                        tmpInten = VC_BlockedBeam(0.01,qTot[p][q]) 
    8282                        break 
    8383                case "Debye +": 
     
    8686                        break 
    8787                case "AgBeh +": 
    88                         tmpInten = VC_BroadPeak(1e-9,3,20,100.0,0.1,3,0.1,qTot[p][q]) 
     88                        tmpInten = VC_BroadPeak(1e-11,3,20,100.0,0.1,3,0.1,qTot[p][q]) 
    8989                        addEmpBgd = 1 
    9090                        break 
    9191                case "Empty Cell +": 
    92                         tmpInten = VC_EC_Empirical(2.2e-8,3.346,0.0065,9.0,0.016,qTot[p][q]) 
    93                         tmpInten += VC_BlockedBeam(1,qTot[p][q]) 
     92                        tmpInten = VC_EC_Empirical(2.2e-12,3.346,0.0065,9.0,0.016,qTot[p][q]) 
     93                        tmpInten += VC_BlockedBeam(0.01,qTot[p][q]) 
    9494                        break 
    9595                default: 
     
    9999 
    100100        if(addEmpBgd == 1) 
    101                 tmpInten += VC_EC_Empirical(2.2e-8,3.346,0.0065,9.0,0.016,qTot[p][q]) 
    102                 tmpInten += VC_BlockedBeam(1,qTot[p][q]) 
     101                tmpInten += VC_EC_Empirical(2.2e-12,3.346,0.0065,9.0,0.016,qTot[p][q]) 
     102                tmpInten += VC_BlockedBeam(0.01,qTot[p][q]) 
    103103        endif 
    104104 
Note: See TracChangeset for help on using the changeset viewer.