summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/cropparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-06-07 19:41:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-06-07 19:41:17 (GMT)
commiteae40559daf3b35035d523e95da5e35f11bb8b5a (patch)
tree7e63bcb201fdb9785599fa7fed79281f1d3b2381 /ds9/parsers/cropparser.tac
parent2b8f7c6bf93b14ee62a34221d6edd18c97a5d4ff (diff)
downloadblt-eae40559daf3b35035d523e95da5e35f11bb8b5a.zip
blt-eae40559daf3b35035d523e95da5e35f11bb8b5a.tar.gz
blt-eae40559daf3b35035d523e95da5e35f11bb8b5a.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/cropparser.tac')
-rw-r--r--ds9/parsers/cropparser.tac36
1 files changed, 18 insertions, 18 deletions
diff --git a/ds9/parsers/cropparser.tac b/ds9/parsers/cropparser.tac
index e5fb51f..2c27ba7 100644
--- a/ds9/parsers/cropparser.tac
+++ b/ds9/parsers/cropparser.tac
@@ -30,28 +30,28 @@ crop : OPEN_ {CropDialog}
| RESET_ {CropReset}
| 3D_ 3d
- | numeric numeric numeric numeric {global current; $current(frame) crop center $1 $2 physical fk5 $3 $4 physical degrees}
- | numeric numeric numeric numeric coordsys {global current; $current(frame) crop center $1 $2 $5 fk5 $3 $4 $5 degrees}
+ | numeric numeric numeric numeric {ProcessCmdCurrent frame "crop center $1 $2 physical fk5 $3 $4 physical degrees"}
+ | numeric numeric numeric numeric coordsys {ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 degrees"}
- | numeric numeric numeric numeric wcssys {global current; $current(frame) crop center $1 $2 $5 fk5 $3 $4 $5 degrees}
- | numeric numeric numeric numeric wcssys rformat {global current; $current(frame) crop center $1 $2 $5 fk5 $3 $4 $5 $6}
- | numeric numeric numeric numeric skyframe {global current; $current(frame) crop center $1 $2 wcs $5 $3 $4 wcs degrees}
- | numeric numeric numeric numeric skyframe rformat {global current; $current(frame) crop center $1 $2 wcs $5 $3 $4 wcs $6}
- | numeric numeric numeric numeric wcssys skyframe {global current; $current(frame) crop center $1 $2 $5 $6 $3 $4 $5 degrees}
- | numeric numeric numeric numeric wcssys skyframe rformat {global current; $current(frame) crop center $1 $2 $5 $6 $3 $4 $5 $7}
+ | numeric numeric numeric numeric wcssys {ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 degrees"}
+ | numeric numeric numeric numeric wcssys rformat {ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 $6"}
+ | numeric numeric numeric numeric skyframe {ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs degrees"}
+ | numeric numeric numeric numeric skyframe rformat {ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs $6"}
+ | numeric numeric numeric numeric wcssys skyframe {ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 degrees"}
+ | numeric numeric numeric numeric wcssys skyframe rformat {ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 $7"}
- | SEXSTR_ SEXSTR_ numeric numeric {global current; $current(frame) crop center $1 $2 wcs fk5 $3 $4 wcs degrees}
- | SEXSTR_ SEXSTR_ numeric numeric wcssys {global current; $current(frame) crop center $1 $2 $5 fk5 $3 $4 $5 degrees}
- | SEXSTR_ SEXSTR_ numeric numeric wcssys rformat {global current; $current(frame) crop center $1 $2 $5 fk5 $3 $4 $5 $6}
- | SEXSTR_ SEXSTR_ numeric numeric skyframe {global current; $current(frame) crop center $1 $2 wcs $5 $3 $4 wcs degrees}
- | SEXSTR_ SEXSTR_ numeric numeric skyframe rformat {global current; $current(frame) crop center $1 $2 wcs $5 $3 $4 wcs $6}
- | SEXSTR_ SEXSTR_ numeric numeric wcssys skyframe {global current; $current(frame) crop center $1 $2 $5 $6 $3 $4 $5 degrees}
- | SEXSTR_ SEXSTR_ numeric numeric wcssys skyframe rformat {global current; $current(frame) crop center $1 $2 $5 $6 $3 $4 $5 $7}
+ | SEXSTR_ SEXSTR_ numeric numeric {ProcessCmdCurrent frame "crop center $1 $2 wcs fk5 $3 $4 wcs degrees"}
+ | SEXSTR_ SEXSTR_ numeric numeric wcssys {ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 degrees"}
+ | SEXSTR_ SEXSTR_ numeric numeric wcssys rformat {ProcessCmdCurrent frame "crop center $1 $2 $5 fk5 $3 $4 $5 $6"}
+ | SEXSTR_ SEXSTR_ numeric numeric skyframe {ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs degrees"}
+ | SEXSTR_ SEXSTR_ numeric numeric skyframe rformat {ProcessCmdCurrent frame "crop center $1 $2 wcs $5 $3 $4 wcs $6"}
+ | SEXSTR_ SEXSTR_ numeric numeric wcssys skyframe {ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 degrees"}
+ | SEXSTR_ SEXSTR_ numeric numeric wcssys skyframe rformat {ProcessCmdCurrent frame "crop center $1 $2 $5 $6 $3 $4 $5 $7"}
;
-3d : numeric numeric {global current; $current(frame) crop 3d $1 $2 image}
- | numeric numeric coordsys {global current; $current(frame) crop 3d $1 $2 $3}
- | numeric numeric wcssys {global current; $current(frame) crop 3d $1 $2 $3}
+3d : numeric numeric {ProcessCmdCurrent frame "crop 3d $1 $2 image"}
+ | numeric numeric coordsys {ProcessCmdCurrent frame "crop 3d $1 $2 $3"}
+ | numeric numeric wcssys {ProcessCmdCurrent frame "crop 3d $1 $2 $3"}
;
%%