diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-06-11 21:35:20 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-06-11 21:35:20 (GMT) |
commit | dcd673398653cdf15436c72f66c0ae621d0581f6 (patch) | |
tree | be0e0fae73558acfbf30f598754d11229137679b /ds9/library | |
parent | 9b6d98229cb2fc7c944762a367a933524ff7c60b (diff) | |
download | blt-dcd673398653cdf15436c72f66c0ae621d0581f6.zip blt-dcd673398653cdf15436c72f66c0ae621d0581f6.tar.gz blt-dcd673398653cdf15436c72f66c0ae621d0581f6.tar.bz2 |
fix 2mass and vla image server cone search radius issue
Diffstat (limited to 'ds9/library')
-rw-r--r-- | ds9/library/2mass.tcl | 2 | ||||
-rw-r--r-- | ds9/library/vla.tcl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ds9/library/2mass.tcl b/ds9/library/2mass.tcl index 48f1233..2759989 100644 --- a/ds9/library/2mass.tcl +++ b/ds9/library/2mass.tcl @@ -92,7 +92,7 @@ proc 2MASSExec {varname} { } # now to radius - set rr [expr sqrt($ww*$ww+$hh*$hh)/2.] + set rr [expr ($ww+$hh)/4.] if {$rr>1024} { set rr 1024 } diff --git a/ds9/library/vla.tcl b/ds9/library/vla.tcl index 5cd3d48..d48f62d 100644 --- a/ds9/library/vla.tcl +++ b/ds9/library/vla.tcl @@ -104,7 +104,7 @@ proc VLAExec {varname} { } # now to radius - set rr [expr sqrt($ww*$ww+$hh*$hh)/2.] + set rr [expr ($ww+$hh)/4.] if {$rr>60} { set rr 60 } |