Changeset 853 for sans/Dev/trunk/NCNR_User_Procedures/Reduction
- Timestamp:
- Apr 25, 2012 2:03:35 PM (11 years ago)
- Location:
- sans/Dev/trunk/NCNR_User_Procedures/Reduction
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/Polarization/Pol_FlipperPanel.ipf
r851 r853 291 291 292 292 // Put the average values into the wave note and display on the panel 293 SVAR gT0 = root:Packages:NIST:Polarization:Cells:gT0 294 293 295 noteStr = note(w) 294 296 noteStr = ReplaceNumberByKey("P_sm_f", noteStr, PsmPf ,"=", ",", 0) … … 296 298 noteStr = ReplaceNumberByKey("err_P_sm_f", noteStr, err_PsmPf ,"=", ",", 0) 297 299 noteStr = ReplaceNumberByKey("err_P_sm", noteStr, err_Psm ,"=", ",", 0) 300 noteStr = ReplaceStringByKey("T0", noteStr, gT0 ,"=", ",", 0) 301 298 302 299 303 // replace the string -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/Polarization/Pol_PolarizationCorrection.ipf
r851 r853 1 1 #pragma rtGlobals=1 // Use modern global access method. 2 2 3 4 // **** search for TODO to find items still to be fixed in other procedures **********5 3 6 4 … … 26 24 // will probably be easiest written as expansions. 27 25 // 28 29 30 26 31 27 … … 76 72 // properly made, and then properly copied to the "_UU", and then properly copied back to the untagged waves 77 73 // for use in the reduction? (now at this later date, I don't understand this question...) 74 // 75 // -- still not sure what is needed for absolute scaling 76 // 77 // -- what is the sample transmission, and exactly what +/- states are the proper measurements to use for thransmission? 78 // 79 // -- generate some sort of report of what was set up, and what was used in the calculation 80 // 78 81 // 79 82 … … 1325 1328 End 1326 1329 1327 1330 // TODO 1331 // -- clean up the wave note method to get the file loaded information passed around for display 1328 1332 // a function to tag the data in a particular folder with the UD state 1329 1333 Function TagLoadedData(type,pType) … … 1341 1345 Duplicate/O $(destPath + ":realsread"),$(destPath + ":realsread"+pType) 1342 1346 1347 SVAR FileList = $(destPath + ":FileList") //stick the list of files as a wave note. Very inelegant... 1348 Note $(destPath + ":textread"+pType),FileList 1349 1350 1343 1351 return(0) 1344 1352 End 1345 1353 1346 1354 // TODO 1355 // -- Be sure that fRawWindowHook is picking up all of the correct information - identifying what the 1356 // displayed data set really is... 1357 // 1347 1358 // a procedure (easier than a function) to point the current data to the tagged data 1348 1359 Proc DisplayTaggedData(type,pType) … … 1363 1374 $(destPath + ":data") = $(destPath + ":linear_data"+pType) 1364 1375 1376 1377 root:myGlobals:gDataDisplayType = type + pType 1378 1365 1379 UpdateDisplayInformation(type) 1366 // using fRawWindowHook() gets the log/lin correct 1367 // fRawWindowHook() 1368 1369 1380 1381 //update the displayed filename, using FileList in the current data folder 1382 String/G root:myGlobals:gCurDispFile = note($(destPath + ":textread"+pType)) //read from the wave note 1383 1370 1384 End 1371 1385 … … 1377 1391 // polCor result has _UU_pc 1378 1392 // 1393 // error propagation through the inversion follows the paper... 1379 1394 // 1380 1395 Function PolCorButton(ba) : ButtonControl -
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/ProtocolAsPanel.ipf
r794 r853 1973 1973 String type 1974 1974 1975 String newTitle = "WORK_"+type1976 DoWindow/F SANS_Data1977 DoWindow/T SANS_Data, newTitle1978 KillStrings/Z newTitle1975 // String newTitle = "WORK_"+type 1976 // DoWindow/F SANS_Data 1977 // DoWindow/T SANS_Data, newTitle 1978 // KillStrings/Z newTitle 1979 1979 1980 1980 //need to update the display with "data" from the correct dataFolder
Note: See TracChangeset
for help on using the changeset viewer.