summaryrefslogtreecommitdiffstats
path: root/ds9/library/prefs.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-08-03 21:28:50 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-08-03 21:28:50 (GMT)
commit88c931f321813357d1a52d6ecbc90f90476a38d5 (patch)
treee11490fa72680f6c7c33ef0eb7d68270df543532 /ds9/library/prefs.tcl
parent87f88ee426a2bef60d80d723698182fedb3a419a (diff)
downloadblt-88c931f321813357d1a52d6ecbc90f90476a38d5.zip
blt-88c931f321813357d1a52d6ecbc90f90476a38d5.tar.gz
blt-88c931f321813357d1a52d6ecbc90f90476a38d5.tar.bz2
add elliptical gaussian smooth
Diffstat (limited to 'ds9/library/prefs.tcl')
-rw-r--r--ds9/library/prefs.tcl36
1 files changed, 35 insertions, 1 deletions
diff --git a/ds9/library/prefs.tcl b/ds9/library/prefs.tcl
index 01aa763..f11ad0d 100644
--- a/ds9/library/prefs.tcl
+++ b/ds9/library/prefs.tcl
@@ -460,6 +460,9 @@ proc FixPrefs {version} {
FixPrefs7.0to7.1
FixPrefs7.1to7.2
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
6.0 {
FixPrefs6.0to6.1
@@ -468,6 +471,9 @@ proc FixPrefs {version} {
FixPrefs7.0to7.1
FixPrefs7.1to7.2
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
6.1 -
6.1.1 -
@@ -477,37 +483,65 @@ proc FixPrefs {version} {
FixPrefs7.0to7.1
FixPrefs7.1to7.2
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
6.2 {
FixPrefs6.2to7.0
FixPrefs7.0to7.1
FixPrefs7.1to7.2
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
7.0 {
FixPrefs7.0to7.1
FixPrefs7.1to7.2
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
7.1 {
FixPrefs7.1to7.2
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
7.2 {
FixPrefs7.2to7.3
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
7.3 -
7.3.1 -
7.3.2 {
+ FixPrefs7.3to7.4
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
7.4 {
+ FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
7.5 {
- FixPrefs7.4to7.5
+ FixPrefs7.5to7.6
}
+ 7.6 {}
}
}
+proc FixPrefs7.5to7.6 {} {
+ global smooth
+ set smooth(radius,minor) $smooth(radius)
+ set smooth(sigma) [expr int($smooth(radius)/2.)]
+ set smooth(sigma,minor) $smooth(sigma)
+}
+
proc FixPrefs7.4to7.5 {} {
FixVarRm pds9(threads)
}