Ignore:
Timestamp:
Sep 13, 2018 2:03:34 PM (4 years ago)
Author:
srkline
Message:

attempting to put the zip file of the package in some accessible location since webster has been cut off.

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
Files:
2 edited

Legend:

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

    r1100 r1115  
    10501050        // load from raw? 
    10511051        // if so, which carriage? 
    1052         String loadFromRAW 
     1052        String loadFromRAW="No" 
    10531053        String detStr 
    10541054        if(cmpstr(ctrlName,"button23")==0) 
     
    11801180 
    11811181        if(mode == MODE_STREAM)         // continuous "Stream" mode - start from zero 
    1182         v_tic() 
    1183         printf "Duplicate wave = " 
    1184                 Duplicate/O timePt rescaledTime 
    1185         v_toc() 
    1186         v_tic() 
    1187         printf "rescale time = " 
    1188 //              rescaledTime = 1*(timePt-timePt[0])             //convert to nanoseconds and start from zero 
    1189                 rescaledTime = timeStep_s*(timePt-timePt[0])            //convert to seconds and start from zero 
    1190         v_toc() 
    1191         v_tic() 
    1192         printf "find wave Max = " 
    1193                 t_longest = waveMax(rescaledTime)               //should be the last point       
    1194         v_toc() 
     1182                v_tic() 
     1183                printf "Duplicate wave = " 
     1184                        KillWaves/Z rescaledTime 
     1185                        Duplicate/O timePt rescaledTime 
     1186                v_toc() 
     1187                v_tic() 
     1188                printf "rescale time = " 
     1189        //              rescaledTime = 1*(timePt-timePt[0])             //convert to nanoseconds and start from zero 
     1190                        rescaledTime = timeStep_s*(timePt-timePt[0])            //convert to seconds and start from zero 
     1191                v_toc() 
     1192                v_tic() 
     1193                printf "find wave Max = " 
     1194                        t_longest = waveMax(rescaledTime)               //should be the last point       
     1195                v_toc() 
    11951196        endif 
    11961197 
    11971198         
    11981199        if(mode == MODE_OSCILL)         // oscillatory mode - don't adjust the times, we get periodic t0 to reset t=0 
     1200                KillWaves/Z rescaledTime 
    11991201                Duplicate/O timePt rescaledTime 
    12001202                rescaledTime *= timeStep_s                      //convert to seconds and that's all 
     
    12091211// MODE_TOF 
    12101212        if(mode == MODE_TOF)            // TOF mode - don't adjust the times, we get periodic t0 to reset t=0 
     1213                KillWaves/Z rescaledTime 
    12111214                Duplicate/O timePt rescaledTime 
    12121215                rescaledTime *= timeStep_s              //convert to seconds and that's all 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_WorkFolderUtils.ipf

    r1113 r1115  
    895895         
    896896        saved_mon_tmp = V_getBeamMonNormSaved_count(tmpType) 
    897         scale_tmp = saved_mon_dest/defMon                       //un-scaling factor 
     897        scale_tmp = saved_mon_tmp/defMon                        //un-scaling factor 
    898898 
    899899        new_scale = defMon / (saved_mon_dest+saved_mon_tmp) 
Note: See TracChangeset for help on using the changeset viewer.