Changeset 869


Ignore:
Timestamp:
Dec 4, 2009 5:13:26 PM (14 years ago)
Author:
toby
Message:

# on 2006/02/22 00:31:31, toby did:
bkgfit: prevent use of more than 36 bkg terms, since that is all GSAS allows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/liveplot

    • Property rcs:date changed from 2004/10/04 20:29:36 to 2006/02/22 00:31:31
    • Property rcs:lines changed from +8 -3 to +5 -3
    • Property rcs:rev changed from 1.42 to 1.43
    r826 r869  
    11941194        $termmenu delete 0 end
    11951195        set imax {}
    1196         for {set i 2} {$i <= $l/1.5} {incr i 2} {
     1196        set termmax [expr {$l/1.5}]
     1197        if {$termmax > 36} {set termmax 36}
     1198        for {set i 2} {$i <= $termmax} {incr i 2} {
    11971199            $termmenu insert end radiobutton -label $i \
    11981200                    -variable expgui(FitOrder) -command "BkgFillTermBoxes nosave"
Note: See TracChangeset for help on using the changeset viewer.