summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-02 20:09:43 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-02 20:09:43 (GMT)
commit87f88ee426a2bef60d80d723698182fedb3a419a (patch)
treebedd3541605643edba900a7eedacb9a29af55bd2 /ds9
parentf98ffee7eead3a6f398bade208f5d835cf5d79a8 (diff)
downloadblt-87f88ee426a2bef60d80d723698182fedb3a419a.zip
blt-87f88ee426a2bef60d80d723698182fedb3a419a.tar.gz
blt-87f88ee426a2bef60d80d723698182fedb3a419a.tar.bz2
add doc to smooth dialog
Diffstat (limited to 'ds9')
-rw-r--r--ds9/library/smooth.tcl12
1 files changed, 5 insertions, 7 deletions
diff --git a/ds9/library/smooth.tcl b/ds9/library/smooth.tcl
index 0af3ec8..0d5da5d 100644
--- a/ds9/library/smooth.tcl
+++ b/ds9/library/smooth.tcl
@@ -82,20 +82,18 @@ proc SmoothDialog {} {
-variable smooth(function) -value tophat
ttk::radiobutton $f.gaussian -text [msgcat::mc {Gaussian}] \
-variable smooth(function) -value gaussian
- ttk::label $f.rbtitle -text {Boxcar width = 2*radius+1}
- ttk::label $f.rttitle -text {Tophat diameter = 2*radius+1}
- ttk::label $f.rgtitle -text {Gaussian sigma = radius/2}
+ ttk::label $f.rbtitle -text {width= *radius+1}
+ ttk::label $f.rttitle -text {diameter=2*radius+1}
+ ttk::label $f.rgtitle -text {sigma=radius/2}
slider $f.rslider 1 20 {Radius} smooth(radius) {SmoothCheckRadius}
grid $f.boxcar $f.tophat $f.gaussian -padx 2 -pady 2 -sticky w
- grid $f.rbtitle - - -padx 2 -pady 2 -sticky ew
- grid $f.rttitle - - -padx 2 -pady 2 -sticky ew
- grid $f.rgtitle - - -padx 2 -pady 2 -sticky ew
+ grid $f.rbtitle $f.rttitle $f.rgtitle -padx 2 -pady 2 -sticky ew
grid $f.rslider - - -padx 2 -pady 2 -sticky ew
# Kernal
set f [ttk::labelframe $w.rad -text [msgcat::mc {Kernel}] -padding 2]
- ttk::label $f.ktitle -text {Width/Height = 2*size+1; radius <= size}
+ ttk::label $f.ktitle -text {width,height=2*size+1; radius<=size}
slider $f.kslider 1 20 {Size} smooth(kernel) {SmoothCheckKernel}
grid $f.ktitle -padx 2 -pady 2 -sticky ew