- Timestamp:
- Dec 4, 2015 3:51:48 PM (7 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VSANS_Includes.ipf
r971 r972 45 45 #include "V_Menu" 46 46 #include "V_VSANS_Preferences" 47 #include "V_WorkFolderUtils" 47 48 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_HDF5_RW_Utils.ipf
r971 r972 28 28 End 29 29 30 // TODO -- move the initializtion of the raw data folder to be in the as-yet unwritten initialization routine for 30 // TODO: 31 // x- move the initializtion of the raw data folder to be in the as-yet unwritten initialization routine for 31 32 // reduction. be sure that it's duplicated in the VCALC initialization too. 32 33 // 33 ProcV_LoadHDF5Data(file)34 Function V_LoadHDF5Data(file) 34 35 String file 35 36 36 NewDataFolder/O/Sroot:Packages:NIST:VSANS:RawVSANS37 SetDataFolder root:Packages:NIST:VSANS:RawVSANS 37 38 // SetDataFolder root: 38 39 Variable err= V_LoadHDF5_NoAtt(file) // reads into current folder 39 40 SetDataFolder root: 41 return(err) 40 42 End 41 43 -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/V_MainPanel.ipf
r971 r972 51 51 String ctrlName 52 52 53 Variable err= LoadRawSANSData("Select a Raw SANS data file")53 Variable err= V_LoadHDF5Data("") // load the data into RawVSANS storage folder (why am I doing this?) 54 54 if(!err) 55 UpdateDisplayInformation("RAW") 55 String hdfDF = root:file_name // last file loaded, may not be the safest way to pass 56 CopyHDFToWorkFolder(hdfDF,"RAW") // copy what is needed for data processing (not the DAS_logs) 57 UpdateDisplayInformation("RAW") // plot the data in whatever folder type 56 58 endif 57 59 End … … 189 191 Proc HelpMainButtonProc(ctrlName) : ButtonControl 190 192 String ctrlName 191 DisplayHelpTopic/Z/K=1 " SANS Data Reduction Tutorial"193 DisplayHelpTopic/Z/K=1 "VSANS Data Reduction Tutorial" 192 194 if(V_flag !=0) 193 DoAlert 0,"The SANS Data Reduction Tutorial Help file could not be found"195 DoAlert 0,"The VSANS Data Reduction Tutorial Help file could not be found" 194 196 endif 195 197 End … … 293 295 PauseUpdate; Silent 1 // building window... 294 296 NewPanel /W=(500,60,924,320) /K=2 as "VSANS Reduction Controls" 295 ModifyPanel cbRGB=( 65535,58981,27524)297 ModifyPanel cbRGB=(47748,57192,54093) 296 298 ModifyPanel fixedSize=1 297 299 ////// … … 310 312 TabControl MainTab,value=0 311 313 // 312 TabControl MainTab labelBack=( 65535,58981,27524)314 TabControl MainTab labelBack=(47748,57192,54093) 313 315 314 316 //on tab(0) - Raw Data - initially visible
Note: See TracChangeset
for help on using the changeset viewer.