Changeset 298


Ignore:
Timestamp:
Mar 6, 2008 9:23:05 AM (15 years ago)
Author:
srkline
Message:

Fixed typo in broser

Added MCR to the File Catalog.

Location:
sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.10/CatVSTable.ipf

    r260 r298  
    5454        Make/O/D/N=0 $"root:myGlobals:CatVSHeaderInfo:Temperature" 
    5555        Make/O/D/N=0 $"root:myGlobals:CatVSHeaderInfo:Field" 
     56        Make/O/D/N=0 $"root:myGlobals:CatVSHeaderInfo:MCR"              //added Mar 2008 
     57 
    5658 
    5759        If(V_Flag==0) 
     
    165167        Wave GTemp = $"root:myGlobals:CatVSHeaderInfo:Temperature" 
    166168        Wave GField = $"root:myGlobals:CatVSHeaderInfo:Field" 
    167  
    168         Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField 
     169        Wave GMCR = $"root:myGlobals:CatVSHeaderInfo:MCR"               //added Mar 2008 
     170 
     171 
     172        Sort GSuffix, GSuffix, GFilenames, GLabels, GDateTime, GSDD, GLambda, GCntTime, GTotCnts, GCntRate, GTransmission, GThickness, GXCenter, GYCenter, GNumAttens,GRunNumber,GIsTrans,GRot,GTemp,GField,GMCR 
    169173        return(0) 
    170174End 
     
    190194        Wave Temperature = $"root:myGlobals:CatVSHeaderInfo:Temperature" 
    191195        Wave Field= $"root:myGlobals:CatVSHeaderInfo:Field" 
     196        Wave MCR = $"root:myGlobals:CatVSHeaderInfo:MCR"                //added Mar 2008 
     197 
    192198 
    193199// original order, magnetic at the end 
    194         Edit Filenames, Labels, DateAndTime, SDD, Lambda, CntTime, TotCnts, CntRate, Transmission, Thickness, XCenter, YCenter, NumAttens, RotAngle, Temperature, Field as "Data File Catalog" 
     200        Edit Filenames, Labels, DateAndTime, SDD, Lambda, CntTime, TotCnts, CntRate, Transmission, Thickness, XCenter, YCenter, NumAttens, RotAngle, Temperature, Field, MCR as "Data File Catalog" 
    195201// alternate ordering, put the magnetic information first 
    196202//      Edit Filenames, Labels, RotAngle, Temperature, Field, DateAndTime, SDD, Lambda, CntTime, TotCnts, CntRate, Transmission, Thickness, XCenter, YCenter, NumAttens as "Data File Catalog" 
     
    232238        Wave GTemp = $"root:myGlobals:CatVSHeaderInfo:Temperature" 
    233239        Wave GField = $"root:myGlobals:CatVSHeaderInfo:Field" 
     240        Wave GMCR = $"root:myGlobals:CatVSHeaderInfo:MCR" 
    234241         
    235242        lastPoint = numpnts(GLambda) 
     
    315322        InsertPoints lastPoint,1,GIsTrans 
    316323        GIsTrans[lastPoint]  = isTransFile(fname)               //returns one if beamstop is "out" 
     324         
     325        // Monitor Count Rate 
     326        InsertPoints lastPoint,1,GMCR 
     327        GMCR[lastPoint]  = getMonitorCount(fname)/ctime         //total monitor count / total count time 
    317328         
    318329        return(0) 
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.10/MainPanel.ipf

    r260 r298  
    365365Function SR_OpenTracTicketPage(ctrlName) 
    366366        String ctrlName 
    367         DoAlert 1,"Your web broser will open to a page where you can submit your bug report or feature request. OK?" 
     367        DoAlert 1,"Your web browser will open to a page where you can submit your bug report or feature request. OK?" 
    368368        if(V_flag==1) 
    369369                BrowseURL "http://danse.chem.utk.edu/trac/newticket" 
Note: See TracChangeset for help on using the changeset viewer.