Ignore:
Timestamp:
Apr 22, 2016 5:02:30 PM (6 years ago)
Author:
srkline
Message:

lots of changes to plotting of q-values, generating fake data with non-linear corrections, masking of data, etc.

File:
1 edited

Legend:

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

    r992 r993  
    416416        // (2) non-linear correction     
    417417        // TODO: 
    418         // -- currently, the "B" detector is skipped 
     418        // x- currently, the "B" detector is skipped 
    419419        // -- document what is generated here: 
    420420        //    **in each detector folder: data_realDistX and data_realDistY (2D waves of the mm? position of the pixel) 
     
    422422        //    data to be properly displayed, but without all of the (complete) set of corrections 
    423423        // * the corrected distances are calculated into arrays, but nothing is done with them yet 
    424         // * there is enough information now to calculate the q-arrays -other corrections modify the data 
     424        // * there is enough information now to calculate the q-arrays 
     425        // -other corrections modify the data, this does NOT 
    425426        NVAR gDoNonLinearCor = root:Packages:NIST:VSANS:Globals:gDoNonLinearCor 
    426427        // generate a distance matrix for each of the detectors 
     
    485486        // -- B detector is a special case (do separately, then loop over NoB) 
    486487        NVAR gDoDeadTimeCor = root:Packages:NIST:VSANS:Globals:gDoDeadTimeCor 
    487         ctTime = V_getCount_time(fname) 
    488488        if (gDoDeadTimeCor == 1) 
    489489                Print "Doing DeadTime correction"// for "+ detStr 
     
    492492                        Wave w = V_getDetectorDataW(fname,detStr) 
    493493                        Wave w_err = V_getDetectorDataErrW(fname,detStr) 
    494                          
     494                        ctTime = V_getCount_time(fname) 
     495 
    495496                        if(cmpstr(detStr,"B") == 0) 
    496497                                Variable b_dt = V_getDetector_deadtime_B(fname,detStr) 
     
    510511                                 
    511512                        else 
     513                                // do the corrections for 8 tube panels 
     514 
    512515                                Wave w_dt = V_getDetector_deadtime(fname,detStr) 
    513                                 // do the corrections for 8 tube panels 
    514516                                //                      DeadTimeCorrectionTubes(w,w_err,w_dt,ctTime) 
     517 
    515518 
    516519                        endif 
Note: See TracChangeset for help on using the changeset viewer.