Ignore:
Timestamp:
May 29, 2008 8:53:58 AM (15 years ago)
Author:
srkline
Message:
  • ILL attenuator table updated
  • NCNR install package has more diagnostics
Location:
sans/Dev/trunk/NCNR_User_Procedures/SANS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Analysis/Models/Packages/NCNR_Install.ipf

    r365 r371  
    390390        textStr = ReplaceString(";", strFileList, "\r") 
    391391        Notebook $nb text=textStr+"\r" 
    392  
    393  
     392// 
     393// 
     394        // then get a listing of the "home" directory. If files were not moved properly, they will still be here 
     395        Notebook $nb text="\r\r**Home (files)**\r" 
     396//      NewPath /Q/O IgorProcPath, igorPathStr+"Igor Procedures:" 
     397 
     398        //files 
     399        strFileList = IndexedFile(home, -1, "????" ) 
     400        textStr = ReplaceString(";", strFileList, "\r") 
     401        Notebook $nb text=textStr 
     402 
     403        //folders 
     404        Notebook $nb text="\r**Home (folders)**\r" 
     405        strFileList = IndexedDir(home, -1, 0 ) 
     406        textStr = ReplaceString(";", strFileList, "\r") 
     407        Notebook $nb text=textStr+"\r" 
     408         
    394409        //move to the beginning of the notebook 
    395410        Notebook $nb selection={startOfFile, startOfFile}        
     
    442457        String helpStr = "Please kill the open Help Files by option-clicking (Macintosh) or alt-clicking (Windows) on the close box of each window. Once you have finished, please close this window and install the SANS Macros." 
    443458        if(NumHelpFilesOpen != 0) 
    444                 NewNotebook/F=1/K=1/N=HelpNotebook /W=(5,44,547,181) as "Please close the open help files" 
    445                 Notebook HelpNotebook,fsize=12,fstyle=1,showRuler=0,text=helpStr 
     459                NewNotebook/F=1/K=1/N=HelpNotebook /W=(5,44,547,200) as "Please close the open help files" 
     460                Notebook HelpNotebook,fsize=18,fstyle=1,showRuler=0,text=helpStr 
    446461                return(0) 
    447462        endif 
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Reduction/ILL_Utils.ipf

    r370 r371  
    831831         
    832832        Variable attenFactor 
    833         make/O/N=3 Attenuators_ILL={147,902,2874} 
    834          
    835         attenFactor = Attenuators_ILL[attenNo-1] 
     833        make/O/N=4 Attenuators_ILL={1,147,902,2874} 
     834         
     835        attenFactor = Attenuators_ILL[attenNo] 
    836836         
    837837//      print attenfactor 
Note: See TracChangeset for help on using the changeset viewer.