Changeset 975


Ignore:
Timestamp:
Jan 22, 2016 11:40:40 AM (6 years ago)
Author:
srkline
Message:

adding more functions for VSANS infrastructure

Location:
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
Files:
3 added
1 deleted
4 edited

Legend:

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

    r972 r975  
    2626 
    2727// for possible peak fitting 
    28 #include "BroadPeak_Pix_2D" 
     28#include "V_BroadPeak_Pix_2D" 
    2929#include "VC_BeamCenter" 
    3030 
     
    4747#include "V_WorkFolderUtils" 
    4848 
     49// start of raw data display panel 
     50#include "V_Test_RAW_Panel"             // rename this later when it's done 
     51//#include "V_WorkFileUtils"            // not ready to add yet 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_MainPanel.ipf

    r973 r975  
    5555                String hdfDF = root:file_name                   // last file loaded, may not be the safest way to pass 
    5656                CopyHDFToWorkFolder(hdfDF,"RAW")                // copy what is needed for data processing (not the DAS_logs) 
     57                 
     58                // this (in SANS) just passes directly to fRawWindowHook() 
    5759                UpdateDisplayInformation("RAW")         // plot the data in whatever folder type 
     60                 
    5861        endif 
    5962End 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_TubeAdjustments.ipf

    r965 r975  
    11#pragma rtGlobals=3             // Use modern global access method and strict wave access. 
    22 
    3  
     3// 
     4// functions for testing and then actually applying the nonlinear corrections to the 
     5// tube detectors. These routines are for a test bank of 8 tubes (vertical) that were 
     6// run at a subdivision of 1024. VSANS will be different in practice 
     7// 
     8// but the fundamental process is the same, and can be translated into proper functions as needed 
     9// 
    410 
    511 
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_WorkFolderUtils.ipf

    r972 r975  
    77// 
    88 
    9  
     9// TODO: write function 
     10//              KillVANSObjects()               //Kills (/Z) the list of objects that I generate 
     11//                      !! but I must maintain the list 
     12// 
    1013 
    1114 
     
    2023//       what I know that I don't need 
    2124// 
     25// TODO !!! DuplicateDataFolder will FAIL - in the base case of RAW data files, the 
     26//  data is actually in use - so it will fail every time. need an alternate solution. in SANS, 
     27// there are a limited number of waves to carry over, so Dupliate/O is used for rw, tw, data, etc. 
     28// 
     29// 
     30// 
     31// TODO : I also need a list of what is generated during processing that may be hanging around - that I need to 
     32//     be sure to get rid of - like the calibration waves, solidAngle, etc. 
    2233// 
    2334// hdfDF is the name only of the data in storage. May be full file name with extension (clean as needed) 
     
    3849        // copy the folders 
    3950        KillDataFolder/Z toDF                   //DuplicateDataFolder will not overwrite, so Kill 
     51        // this will fail if something was in use 
    4052        DuplicateDataFolder $fromDF,$toDF 
    4153         
     
    4860        // reduction 
    4961        // sample 
     62         
     63         
     64         
     65        KillDataFolder/Z toDF+":control" 
     66        Print V_flag 
     67        // if not OK, need to duplicate/O 
     68         
     69         
    5070         
    5171        // ***what about the variables @ the top level? 
Note: See TracChangeset for help on using the changeset viewer.