Ignore:
Timestamp:
Feb 10, 2016 3:19:54 PM (7 years ago)
Author:
srkline
Message:

more additions to start the work file flow of converting RAW folder to a WORK folder. Raw_to_Work will be the function that sequentially applies the corrections. All corrections can be turned on/off with preferences.

File:
1 edited

Legend:

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

    r976 r979  
    2424        String ctrlName 
    2525         
    26         PickPath() 
     26        V_PickPath() 
    2727        // read in DEFAULT.MASK, if it exists, otherwise, do nothing 
    2828        // 
    29         PathInfo catPathName 
    30         if(V_flag==1) 
    31                 String str = S_Path + "DEFAULT.MASK" 
    32                 Variable refnum 
    33                 Open/R/Z=1 refnum as str 
    34                 if(strlen(S_filename) != 0) 
    35                         Close refnum            //file can be found OK 
    36                         ReadMCID_MASK(str) 
    37                 else 
    38                         // file not found, close just in case 
    39                         Close/A 
    40                 endif 
    41         endif 
     29//      PathInfo catPathName 
     30//      if(V_flag==1) 
     31//              String str = S_Path + "DEFAULT.MASK" 
     32//              Variable refnum 
     33//              Open/R/Z=1 refnum as str 
     34//              if(strlen(S_filename) != 0) 
     35//                      Close refnum            //file can be found OK 
     36//                      ReadMCID_MASK(str) 
     37//              else 
     38//                      // file not found, close just in case 
     39//                      Close/A 
     40//              endif 
     41//      endif 
    4242End 
    4343 
     
    5555 
    5656        Variable err=   V_LoadHDF5Data("","RAW")                        // load the data into RawVSANS storage folder (why am I doing this?) 
     57        Print "Load err = "+num2str(err) 
    5758        if(!err) 
    5859                String hdfDF = root:file_name                   // last file loaded, may not be the safest way to pass 
     
    301302        PauseUpdate; Silent 1           // building window... 
    302303        NewPanel /W=(500,60,924,320) /K=2 as "VSANS Reduction Controls" 
    303         ModifyPanel cbRGB=(47748,57192,54093) 
     304        ModifyPanel cbRGB=(49694,61514,27679) 
    304305        ModifyPanel fixedSize=1 
    305306////// 
Note: See TracChangeset for help on using the changeset viewer.