Changeset 865 for sans/Dev/trunk/NCNR_User_Procedures/Reduction/Polarization/Pol_PolarizationCorrection.ipf
- Timestamp:
- Oct 3, 2012 3:38:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/Polarization/Pol_PolarizationCorrection.ipf
r864 r865 151 151 // print listStr 152 152 153 Open/P=home refnum as fname // creates a new file, or overwrites the existing file153 Open/P=home refnum// as fname // creates a new file, or overwrites the existing file 154 154 fprintf refNum,"IGOR\r" 155 155 … … 356 356 Button button13,pos={440,446},size={120,20},proc=ClearPolCorEntries,title="Clear Entries" 357 357 358 PopupMenu popup1,pos={210,2 4},size={102,20},title="Condition"358 PopupMenu popup1,pos={210,20},size={102,20},title="Condition" 359 359 PopupMenu popup1, mode=1,popvalue="none",value= #"P_GetConditionNameList()" 360 360 … … 376 376 Button button9,help={"Reduce PolCor data"} 377 377 Button button10,pos={226,690},size={120,20},proc=SavePolCorProtocolButton,title="Save Protocol" 378 Button button10,help={"Save the PolCor protocol "}378 Button button10,help={"Save the PolCor protocol, within this experiment only"} 379 379 Button button11,pos={370,690},size={120,20},proc=RecallPolCorProtocolButton,title="Recall Protocol" 380 Button button11,help={"Recall the PolCor protocol"} 381 380 Button button11,help={"Recall a PolCor protocol from memory"} 381 Button button14,pos={226,720},size={120,20},proc=ExportPolCorProtocolButton,title="Export Protocol" 382 Button button14,help={"Export the PolCor protocol, saving it on disk"} 383 Button button15,pos={370,720},size={120,20},proc=ImportPolCorProtocolButton,title="Import Protocol" 384 Button button15,help={"Import a PolCor protocol from a protocol previously saved to disk"} 385 382 386 SetVariable setvar0,pos={322,560},size={250,15},title="file:" 383 387 SetVariable setvar0,help={"Filename of the detector sensitivity file to be used in the data reduction"} … … 1627 1631 //update the data as log of the linear. more correct to use the default scaling 1628 1632 // this is necessary for proper display of the data 1633 SetDataFolder $("root:Packages:NIST:"+type) // this should be redundant, but I somehow eneded up in root: here??? 1634 1629 1635 WAVE data_UU_pc = data_UU_pc 1630 1636 WAVE data_DU_pc = data_DU_pc … … 2394 2400 End 2395 2401 2402 2403 Function ExportPolCorProtocolButton(ctrlName) : ButtonControl 2404 String ctrlName 2405 2406 ExportProtocol(ctrlName) 2407 return(0) 2408 End 2409 2410 2411 Function ImportPolCorProtocolButton(ctrlName) : ButtonControl 2412 String ctrlName 2413 2414 ImportProtocol(ctrlName) 2415 return(0) 2416 End 2417 2396 2418 // at a first pass, uses the regular reduction protocol SaveProtocolButton(ctrlName) 2397 2419 // … … 2451 2473 //on output, w[] is filled with the protocol strings as needed from the panel 2452 2474 // 2475 // -- For polarized beam protocols, don't fill in EMP or BGD, as these are handled differently, since 4 XS 2476 // 2453 2477 Function MakePolProtocolFromPanel(w) 2454 2478 Wave/T w
Note: See TracChangeset
for help on using the changeset viewer.