Changeset 1180 for branches/sandbox


Ignore:
Timestamp:
Nov 25, 2011 3:49:15 PM (9 years ago)
Author:
toby
Message:

liveplot updates for Topas, etc.

Location:
branches/sandbox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox/doc/liveplot.html

    r1157 r1180  
    5151Some of the features available in LIVEPLOT are:
    5252<UL>
    53 <LI><IMG SRC="new.gif" alt="New!">
     53<LI><IMG SRC="new.gif" alt="New!">
     54  Plotting of Topas refinement results in LIVEPLOT:
     55  Upon request, LIVEPLOT has been augmented to read in results from
     56  Topas, as well as GENLES.
     57  <a HREF="#Topas">See below for details.</a>
     58<LI><IMG SRC="new.gif" alt="New!"> 
    5459Regions of the plot can be magnified to show more detail, for example
    5560  in regions at high Q.
     
    432437 
    433438</UL>
     439<a name="Topas"></a>
     440<B>Plotting of Topas refinement results in LIVEPLOT</B>
     441Upon request, LIVEPLOT has been augmented to read in results from
     442Topas. Follow the procedure
     443<A
     444  HREF="http://topas.dur.ac.uk/topaswiki/doku.php?id=outputting_publication_quality_plots_using_expgui">Publication
     445  Quality Plots using Liveplot in EXPGUI</A> from the <A
     446  HREF="http://topas.dur.ac.uk/topaswiki">Durham University Topas Wiki</A> to
     447  generate an output file that LIVEPLOT can read. Then use the "Import
     448from Topas" menu item in the File menu to open a dialog window where
     449the file can be imported. It is optimal to use the extension
     450<tt>.ascii</tt> for the Topas export file.
     451<P>
     452Note that in normal use, LIVEPLOT is started from inside EXPGUI with
     453an open .EXP file. If LIVEPLOT will be used frequently for Topas, it
     454may be useful to create a shortcut to start LIVEPLOT directly. This
     455can be done in Windows by following these
     456<A
     457HREF="https://subversion.xor.aps.anl.gov/trac/EXPGUI/wiki/InstallWindows#shortcut">instructions
     458to make a short cut</A>, but reference file <tt>.../expgui/liveplot</tt>
     459rather than file <tt>.../expgui/expgui</tt>. Similar things can be
     460done in Linux and on the Mac.
    434461
    435462<hr><h2>LIVEPLOT/BKGEDIT Keyboard Shortcuts</h2>
  • branches/sandbox/liveplot

    r1179 r1180  
    107107}
    108108set expgui(RadiiList) {}
     109set ::expmap(phaselist) {}
    109110
    110111proc waitmsg {message} {
     
    459460    set ::topasfile [tk_getOpenFile -title "Select Topas File" -parent . \
    460461                         -defaultextension .ascii \
    461                          -filetypes {{"Topas ascii export" ".ascii"}}]
     462                         -filetypes {
     463                             {"Topas ascii export" ".ascii"}
     464                             {"all files" "*"}
     465                         }]
    462466    if {$::topasfile == ""} return
    463467    if {[catch {set input [open $::topasfile r]} errmsg]} {
     
    469473    }
    470474    close $input
     475    readdata .g
    471476}
    472477
     
    23522357
    23532358.a.file.menu add command -label "Import from Topas" \
    2354     -command {get_topas_file; readdata .g}
     2359    -command {get_topas_file}
    23552360
    23562361.a.file.menu add command -label Quit -command "destroy ."
Note: See TracChangeset for help on using the changeset viewer.