- Timestamp:
- Mar 6, 2009 5:11:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Common/Packages/Invariant/Invariant_v40.ipf
r477 r480 277 277 PopupMenu ywave,pos={10,60},size={231,20},proc=Inv_FilePopMenuProc,title="Data File" 278 278 PopupMenu ywave,help={"Select the experimental intensity values"} 279 PopupMenu ywave,mode=1, popvalue="DDAB_EMATF_1p_25C.absb",value= #"root:Packages:NIST:invariant:gDataPopList"279 PopupMenu ywave,mode=1,value= #"root:Packages:NIST:invariant:gDataPopList" 280 280 Button loadButton,pos={10,90},size={130,20},proc=Inv_Load_Proc,title="Load and Plot File" 281 281 Button loadButton,help={"After choosing a file, load it into memory and plot it with this button."} … … 653 653 654 654 NVAR isSlitSmeared=root:Packages:NIST:invariant:gIsSlitSmeared 655 SVAR fileStr=root:Packages:NIST:gLastFileName655 // SVAR fileStr=root:Packages:NIST:gLastFileName 656 656 657 657 //reset the global to the checkbox state … … 659 659 660 660 if(checked) //get the smearing info 661 String cleanLastFileName = "root:"+CleanupName(fileStr,0) 661 ControlInfo/W=Invariant_Panel ywave 662 String folderStr=CleanupName(S_value,0) 662 663 NVAR dQv=root:Packages:NIST:invariant:gDqv 663 String tempName = cleanLastFileName+"sq" 664 Wave/Z w=$tempName 665 if(WaveExists(w) && w[0] < 0) 666 dQv = - w[0] 667 Print "Data is slit-smeared, dqv = ",w[0] 664 NVAR/Z loaded_dQv = $("root:"+folderStr+":USANS_dQv") 665 if(NVAR_Exists(loaded_dQv)) 666 dQv = loaded_dQv 667 Print "Data is slit-smeared, dqv = ",dQv 668 668 else 669 669 DoAlert 0,"Can't find the slit height from the data. Enter the value manually if the data is truly slit-smeared, or uncheck the box."
Note: See TracChangeset
for help on using the changeset viewer.