summaryrefslogtreecommitdiffstats
path: root/ds9/template
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 19:01:15 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 19:01:15 (GMT)
commit12166aa342f7c8d905097e43a1f50e0775503069 (patch)
tree73a6e7296fbf9898633a02c2503a3e959789d8c3 /ds9/template
parentd4d595fa7fb12903db9227d33d48b2b00120dbd1 (diff)
downloadblt-12166aa342f7c8d905097e43a1f50e0775503069.zip
blt-12166aa342f7c8d905097e43a1f50e0775503069.tar.gz
blt-12166aa342f7c8d905097e43a1f50e0775503069.tar.bz2
Initial commit
Diffstat (limited to 'ds9/template')
-rw-r--r--ds9/template/chandra/acis/acis-i.tpl18
-rw-r--r--ds9/template/chandra/acis/acis-is.tpl30
-rw-r--r--ds9/template/chandra/acis/acis-s.tpl22
-rw-r--r--ds9/template/chandra/acis/acis-si.tpl30
-rw-r--r--ds9/template/chandra/hrc/hrc-i.tpl13
-rw-r--r--ds9/template/chandra/hrc/hrc-s.tpl25
-rw-r--r--ds9/template/heasarc/suzaku/hxd.tpl9
-rw-r--r--ds9/template/heasarc/suzaku/xis.tpl5
-rw-r--r--ds9/template/heasarc/suzaku/xrs.tpl34
-rw-r--r--ds9/template/mmt/binospec.tpl6
-rw-r--r--ds9/template/mmt/hecto/hectochelle.tpl6
-rw-r--r--ds9/template/mmt/hecto/hectospec.tpl6
-rw-r--r--ds9/template/mmt/megacam/megacam-amp-guide.tpl153
-rw-r--r--ds9/template/mmt/megacam/megacam-amp.tpl150
-rw-r--r--ds9/template/mmt/megacam/megacam-chip-guide.tpl82
-rw-r--r--ds9/template/mmt/megacam/megacam-chip.tpl78
-rw-r--r--ds9/template/mmt/mmirs/image.tpl14
-rw-r--r--ds9/template/mmt/mmirs/longslit.tpl14
-rw-r--r--ds9/template/mmt/mmirs/mask.tpl14
-rw-r--r--ds9/template/mmt/swirc.tpl42
-rw-r--r--ds9/template/xmm/epicmos1.tpl20
-rw-r--r--ds9/template/xmm/epicmos2.tpl20
-rw-r--r--ds9/template/xmm/epicpn.tpl31
23 files changed, 822 insertions, 0 deletions
diff --git a/ds9/template/chandra/acis/acis-i.tpl b/ds9/template/chandra/acis/acis-i.tpl
new file mode 100644
index 0000000..7994c62
--- /dev/null
+++ b/ds9/template/chandra/acis/acis-i.tpl
@@ -0,0 +1,18 @@
+# Region file format: DS9 version 4.1
+# Filename: /tmp/ds9sao26241407288736.fits.gz
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,359.45114) || composite=0
+point(359.99565,0.0059387181) || # point=boxcircle color=blue
+point(359.99369,0.0057314379) || # point=boxcircle
+box(359.99369,0.0057314379,16",16",0.0074458093) || # color=red
+line(359.99369,-0.019268453,359.9937,0.03073116) || # line=0 0 color=red
+line(359.96869,0.0057351065,0.018691898,0.0057284211) || # line=0 0 color=red
+# text(0.074983471,-0.07503056) || textangle=359.45857 color=blue text={I0}
+polygon(0.14468917,-0.14493171,0.14506091,-0.0051482778,0.0052770566,-0.0051292868,0.0049055019,-0.14491342) || # color=blue
+# text(359.93236,-0.075069338) || textangle=359.45857 color=blue text={I1}
+polygon(359.86231,-0.0051675813,359.86264,-0.14495208,0.0024209693,-0.14496979,0.0020857765,-0.0051863415) || # color=blue
+# text(0.075029991,0.0678101) || textangle=359.45857 color=blue text={I2}
+polygon(0.14508996,-0.0020934155,0.14475484,0.13769617,0.0049709953,0.13771371,0.0053064433,-0.0020753216) || # color=blue
+# text(359.93241,0.067857426) || textangle=359.45857 color=blue text={I3}
+polygon(359.86271,0.13776073,359.86234,-0.0020285164,0.0021152286,-0.0020463747,0.0024869566,0.13774255) # color=blue
diff --git a/ds9/template/chandra/acis/acis-is.tpl b/ds9/template/chandra/acis/acis-is.tpl
new file mode 100644
index 0000000..fede600
--- /dev/null
+++ b/ds9/template/chandra/acis/acis-is.tpl
@@ -0,0 +1,30 @@
+# Region file format: DS9 version 4.1
+# Filename: /tmp/ds9sao26241407288736.fits.gz
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,359.45114) || composite=0
+point(359.9814,-0.1158516) || # point=boxcircle color=blue
+point(359.97944,-0.11605888) || # point=boxcircle
+box(359.97944,-0.11605888,16",16",0.0074458169) || # color=red
+line(359.97944,-0.14105864,359.97944,-0.091059238) || # line=0 0 color=red
+line(359.95444,-0.11605518,0.0044416507,-0.1160619) || # line=0 0 color=red
+# text(0.060733243,-0.19682027) || textangle=359.45857 color=blue text={I0}
+polygon(0.13043901,-0.26672034,0.13081075,-0.12693824,359.99103,-0.12691956,359.99066,-0.26670229) || # color=blue
+# text(359.91811,-0.19685894) || textangle=359.45857 color=blue text={I1}
+polygon(359.84806,-0.12695743,359.84839,-0.26674043,359.98817,-0.26675865,359.98784,-0.12697661) || # color=blue
+# text(0.060779763,-0.053980247) || textangle=359.45857 color=blue text={I2}
+polygon(0.13083979,-0.12388339,0.13050467,0.015906345,359.99072,0.015923489,359.99106,-0.12386561) || # color=blue
+# text(359.91816,-0.053932908) || textangle=359.45857 color=blue text={I3}
+polygon(359.84846,0.015970851,359.84809,-0.12381838,359.98786,-0.12383666,359.98824,0.015952329) || # color=blue
+# text(0.37184311,0.1320915) || textangle=359.45857 color=blue text={S0}
+polygon(0.44178599,0.20209913,0.30184873,0.20204633,0.30189968,0.062083348,0.4418371,0.062137092) || # color=blue dashlist=12 4 background
+# text(0.22927653,0.13201944) || textangle=359.45857 color=blue text={S1}
+polygon(0.2991992,0.20204725,0.15925574,0.2019529,0.15935471,0.061990276,0.29929739,0.062090227) || # color=blue dashlist=12 4 background
+# text(0.086742871,0.13196478) || textangle=359.45857 color=blue text={S2}
+polygon(0.15667073,0.20199168,0.016716491,0.20189768,0.016814458,0.061935721,0.15676886,0.062034932) || # color=blue
+# text(359.94399,0.13190556) || textangle=359.45857 color=blue text={S3}
+polygon(0.013935284,0.20191224,359.87399,0.20185577,359.87404,0.061899917,0.013991488,0.061955169) || # color=blue
+# text(359.8016,0.13185239) || textangle=359.45857 color=blue text={S4}
+polygon(359.87155,0.20185484,359.7316,0.2018065,359.73165,0.061850174,359.8716,0.061898904) || # color=blue dashlist=12 4 background
+# text(359.65917,0.13179423) || textangle=359.45857 color=blue text={S5}
+polygon(359.72912,0.20179225,359.58918,0.20175502,359.58922,0.061799638,359.72916,0.061830852) # color=blue dashlist=12 4 background
diff --git a/ds9/template/chandra/acis/acis-s.tpl b/ds9/template/chandra/acis/acis-s.tpl
new file mode 100644
index 0000000..723dd03
--- /dev/null
+++ b/ds9/template/chandra/acis/acis-s.tpl
@@ -0,0 +1,22 @@
+# Region file format: DS9 version 4.1
+# Filename: /tmp/ds9sao26241407288736.fits.gz
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,359.45114) || composite=0
+point(359.97589,-0.00023858801) || # point=boxcircle color=blue
+point(359.97739,-0.00030415722) || # point=boxcircle
+box(359.97739,-0.00030415722,16",16",0.0074458058) || # color=red
+line(359.97738,-0.025304045,359.97739,0.024695564) || # line=0 0 color=red
+line(359.95239,-0.00030048775,0.0023881862,-0.00030717384) || # line=0 0 color=red
+# text(0.36595192,0.00027268306) || textangle=359.45857 color=blue text={S0}
+polygon(0.4358959,0.070278402,0.29595769,0.070227238,0.29600903,-0.069733324,0.4359469,-0.069682246) || # color=blue
+# text(0.22338589,0.00020314963) || textangle=359.45857 color=blue text={S1}
+polygon(0.29330794,0.070228032,0.1533645,0.070135307,0.15346356,-0.069824861,0.29340664,-0.069726563) || # color=blue
+# text(0.080851968,0.00014900597) || textangle=359.45857 color=blue text={S2}
+polygon(0.15078032,0.070173966,0.010825204,0.070081577,0.01092379,-0.06987889,0.15087857,-0.069781319) || # color=blue
+# text(359.9381,8.9273906e-05) || textangle=359.45857 color=blue text={S3}
+polygon(0.0080444743,0.070095011,359.8681,0.070039132,359.86815,-0.069915191,0.0081003229,-0.069859569) || # color=blue
+# text(359.79571,3.6603168e-05) || textangle=359.45857 color=blue text={S4}
+polygon(359.86566,0.070038097,359.72571,0.069988331,359.72576,-0.069965427,359.86571,-0.069916317) || # color=blue
+# text(359.65328,-2.3084464e-05) || textangle=359.45857 color=blue text={S5}
+polygon(359.72323,0.069974963,359.58329,0.069936296,359.58333,-0.070018472,359.72327,-0.069984864) # color=blue
diff --git a/ds9/template/chandra/acis/acis-si.tpl b/ds9/template/chandra/acis/acis-si.tpl
new file mode 100644
index 0000000..2f630b9
--- /dev/null
+++ b/ds9/template/chandra/acis/acis-si.tpl
@@ -0,0 +1,30 @@
+# Region file format: DS9 version 4.1
+# Filename: /tmp/ds9sao26241407288736.fits.gz
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,359.45114) || composite=0
+point(359.98115,0.082070413) || # point=boxcircle color=blue
+point(359.98265,0.082004845) || # point=boxcircle
+box(359.98265,0.082004845,16",16",0.0074458153) || # color=red
+line(359.98265,0.057004991,359.98265,0.1070045) || # line=0 0 color=red
+line(359.95765,0.082008495,0.0076502475,0.082001831) || # line=0 0 color=red
+# text(0.060103564,-0.24632926) || textangle=359.45857 color=blue text={I0}
+polygon(0.12980967,-0.3162311,0.13018093,-0.17644548,359.9904,-0.17642695,359.99003,-0.31621219) || # color=blue
+# text(359.91749,-0.24636747) || textangle=359.45857 color=blue text={I1}
+polygon(359.84743,-0.17646563,359.84776,-0.31625111,359.98754,-0.31626967,359.98721,-0.17648316) || # color=blue
+# text(0.060150801,-0.1034866) || textangle=359.45857 color=blue text={I2}
+polygon(0.13021067,-0.17339142,0.12987474,-0.033600335,359.99009,-0.033582341,359.99043,-0.17337279) || # color=blue
+# text(359.91753,-0.10343879) || textangle=359.45857 color=blue text={I3}
+polygon(359.84783,-0.033535754,359.84746,-0.17332537,359.98724,-0.17334399,359.98761,-0.033553613) || # color=blue
+# text(0.37121376,0.08257996) || textangle=359.45857 color=blue text={S0}
+polygon(0.44115766,0.15258465,0.30121961,0.1525348,0.30127095,0.012574598,0.44120866,0.012624389) || # color=blue dashlist=12 4 background
+# text(0.22864787,0.082511499) || textangle=359.45857 color=blue text={S1}
+polygon(0.29856987,0.15253562,0.15862653,0.15244371,0.15872558,0.012483867,0.29866856,0.012581379) || # color=blue dashlist=12 4 background
+# text(0.086114019,0.082457918) || textangle=359.45857 color=blue text={S2}
+polygon(0.15604234,0.15248238,0.016087265,0.15239031,0.016185851,0.012430134,0.15614059,0.01252742) || # color=blue
+# text(359.94336,0.082398238) || textangle=359.45857 color=blue text={S3}
+polygon(0.013306535,0.15240374,359.87336,0.15234768,359.87341,0.01239362,0.013362384,0.012449456) || # color=blue
+# text(359.80097,0.082345111) || textangle=359.45857 color=blue text={S4}
+polygon(359.87092,0.15234664,359.73097,0.15229619,359.73102,0.012342662,359.87097,0.012392486) || # color=blue dashlist=12 4 background
+# text(359.65854,0.082284459) || textangle=359.45857 color=blue text={S5}
+polygon(359.7285,0.15228281,359.58855,0.15224296,359.58859,0.012288386,359.72853,0.012323208) # color=blue dashlist=12 4 background
diff --git a/ds9/template/chandra/hrc/hrc-i.tpl b/ds9/template/chandra/hrc/hrc-i.tpl
new file mode 100644
index 0000000..22c7196
--- /dev/null
+++ b/ds9/template/chandra/hrc/hrc-i.tpl
@@ -0,0 +1,13 @@
+# Region file format: DS9 version 4.1
+# Filename: /tmp/ds9sao26241407288736.fits.gz
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,359.45114) || composite=0
+point(359.99932,0.0042101979) || # point=boxcircle color=blue
+point(0.00069740655,0.0082266505) || # point=boxcircle
+box(0.00069740655,0.0082266505,40",40",0.0074458119) || # color=red
+line(0.00069392696,-0.01677324,0.00070029419,0.033226372) || # line=0 0 color=red
+line(359.9757,0.0082303192,0.025697186,0.0082236331) || # line=0 0 color=red
+# text(0.0060229964,-0.071730321) || textangle=359.45857 color=blue text={I0}
+polygon(359.99635,-0.35905082,359.63404,0.0033523352,359.99665,0.36586903,0.35895968,0.0034650549) || # color=blue
+polygon(359.99531,-0.3931907,359.57097,0.031258645,359.99542,0.45559694,0.4197573,0.031147222) # color=blue dashlist=12 4 background
diff --git a/ds9/template/chandra/hrc/hrc-s.tpl b/ds9/template/chandra/hrc/hrc-s.tpl
new file mode 100644
index 0000000..5bbd134
--- /dev/null
+++ b/ds9/template/chandra/hrc/hrc-s.tpl
@@ -0,0 +1,25 @@
+# Region file format: DS9 version 4.1
+# Filename: /tmp/ds9sao26241407288736.fits.gz
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,359.45114) || composite=0
+point(0.014345364,-0.0013056111) || # point=boxcircle color=blue
+point(0.016219966,0.0012246581) || # point=boxcircle
+box(0.016219966,0.0012246581,40",40",0.0074458106) || # color=red
+line(0.016216487,-0.023775231,0.016222854,0.02622438) || # line=0 0 color=red
+line(359.99122,0.0012283276,0.041219741,0.0012216413) || # line=0 0 color=red
+# text(359.38538,0.0030653744) || textangle=359.45857 color=blue text={S1}
+polygon(359.14343,0.056577828,359.14354,-0.050535114,359.68674,-0.049942976,359.68662,0.057169491) || # color=blue
+line(359.14351,-0.019991269,359.6867,-0.019398968) || # line=0 0 color=blue
+polygon(359.08396,0.077760121,359.08412,-0.072286681,359.6868,-0.071629351,359.68663,0.078416884) || # color=blue background
+# text(359.98814,0.0037220871) || textangle=359.45857 color=blue text={S2}
+polygon(359.70851,0.057193071,359.70863,-0.049919757,0.27053203,-0.049307389,0.27041232,0.057805635) || # color=blue
+line(359.7086,-0.019374933,359.92699,-0.019136806) || # line=0 0 color=blue
+line(359.92699,-0.019136806,359.9269,0.057431375) || # line=0 0 color=blue
+line(0.10661832,0.057626818,0.1067037,-0.01894101) || # line=0 0 color=blue
+line(0.1067037,-0.01894101,0.27049777,-0.018762924) || # line=0 0 color=blue
+polygon(359.68663,0.078416884,359.6868,-0.071629351,0.28965388,-0.070972867,0.28948516,0.079073122) || # color=blue background
+# text(0.59092858,0.0043780574) || textangle=359.45857 color=blue text={S3}
+polygon(0.29539512,0.057832417,0.29551495,-0.049280661,0.8367598,-0.048690494,0.83664301,0.058421797) || # color=blue
+line(0.29548067,-0.018735466,0.83672616,-0.018146798) || # line=0 0 color=blue
+polygon(0.28948516,0.079073122,0.28965388,-0.070972867,0.89236821,-0.070316746,0.89220504,0.079728383) # color=blue background
diff --git a/ds9/template/heasarc/suzaku/hxd.tpl b/ds9/template/heasarc/suzaku/hxd.tpl
new file mode 100644
index 0000000..bf75c81
--- /dev/null
+++ b/ds9/template/heasarc/suzaku/hxd.tpl
@@ -0,0 +1,9 @@
+# Created with aemkreg version 6.1 with Euler angles (0, 90, 0)
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,0) || composite=1
+polygon( 0.563355, -0.621657,359.436645, -0.621657,359.436652, 0.504992, 0.563348, 0.504992) || #text={PIN (FULL)}
+polygon(360.000000, -0.340000,359.718333, -0.058333, 0.000000, 0.223333, 0.281667, -0.058333) || #text={PIN (FWHM)}
+polygon( 4.574921, -4.618431,355.425079, -4.618431,355.425574, 4.501888, 4.574426, 4.501888) || #text={GSO (FULL)}
+polygon(360.000000, -2.340833,357.717499, -0.058318, 0.000000, 2.224167, 2.282501, -0.058318) || #text={GSO (FWHM)}
+polygon( 0.008333, -0.066667,359.991667, -0.066667,359.991667, -0.050000, 0.008333, -0.050000) #text={HXD-nominal}
diff --git a/ds9/template/heasarc/suzaku/xis.tpl b/ds9/template/heasarc/suzaku/xis.tpl
new file mode 100644
index 0000000..0eef3a9
--- /dev/null
+++ b/ds9/template/heasarc/suzaku/xis.tpl
@@ -0,0 +1,5 @@
+# Created with aemkreg version 6.1 with Euler angles (0, 90, 0)
+global color=blue dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,0) || composite=1
+polygon( 0.150000, -0.150000,359.850000, -0.150000,359.850000, 0.150000, 0.150000, 0.150000) #text=XIS
diff --git a/ds9/template/heasarc/suzaku/xrs.tpl b/ds9/template/heasarc/suzaku/xrs.tpl
new file mode 100644
index 0000000..da21c93
--- /dev/null
+++ b/ds9/template/heasarc/suzaku/xrs.tpl
@@ -0,0 +1,34 @@
+# Created with aemkreg version 6.1 with Euler angles (0, 90, 0)
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,0) || composite=1
+polygon( 0.008047, 0.016399, 0.008047, 0.024344, 0.000102, 0.024344, 0.000102, 0.016399) || #text=XRS
+polygon( 0.008047, 0.008251, 0.008047, 0.016196, 0.000102, 0.016196, 0.000102, 0.008251) || #text=XRS
+polygon( 0.024344, 0.008251, 0.024344, 0.016196, 0.016399, 0.016196, 0.016399, 0.008251) || #text=XRS
+polygon( 0.016196, 0.000102, 0.016196, 0.008047, 0.008251, 0.008047, 0.008251, 0.000102) || #text=XRS
+polygon( 0.024344, 0.000102, 0.024344, 0.008047, 0.016399, 0.008047, 0.016399, 0.000102) || #text=XRS
+polygon( 0.008047, 0.000102, 0.008047, 0.008047, 0.000102, 0.008047, 0.000102, 0.000102) || #text=XRS
+polygon( 0.008047, -0.008047, 0.008047, -0.000102, 0.000102, -0.000102, 0.000102, -0.008047) || #text=XRS
+polygon( 0.008047, -0.024344, 0.008047, -0.016399, 0.000102, -0.016399, 0.000102, -0.024344) || #text=XRS
+polygon( 0.008047, -0.016196, 0.008047, -0.008251, 0.000102, -0.008251, 0.000102, -0.016196) || #text=XRS
+polygon( 0.016196, -0.024344, 0.016196, -0.016399, 0.008251, -0.016399, 0.008251, -0.024344) || #text=XRS
+polygon( 0.016196, -0.016196, 0.016196, -0.008251, 0.008251, -0.008251, 0.008251, -0.016196) || #text=XRS
+polygon( 0.024344, -0.016196, 0.024344, -0.008251, 0.016399, -0.008251, 0.016399, -0.016196) || #text=XRS
+polygon( 0.016196, -0.008047, 0.016196, -0.000102, 0.008251, -0.000102, 0.008251, -0.008047) || #text=XRS
+polygon( 0.024344, -0.008047, 0.024344, -0.000102, 0.016399, -0.000102, 0.016399, -0.008047) || #text=XRS
+polygon(359.999898, -0.024344,359.999898, -0.016399,359.991953, -0.016399,359.991953, -0.024344) || #text=XRS
+polygon(359.999898, -0.016196,359.999898, -0.008251,359.991953, -0.008251,359.991953, -0.016196) || #text=XRS
+polygon(359.991749, -0.024344,359.991749, -0.016399,359.983804, -0.016399,359.983804, -0.024344) || #text=XRS
+polygon(359.991749, -0.016196,359.991749, -0.008251,359.983804, -0.008251,359.983804, -0.016196) || #text=XRS
+polygon(359.983601, -0.016196,359.983601, -0.008251,359.975656, -0.008251,359.975656, -0.016196) || #text=XRS
+polygon(359.991749, -0.008047,359.991749, -0.000102,359.983804, -0.000102,359.983804, -0.008047) || #text=XRS
+polygon(359.983601, -0.008047,359.983601, -0.000102,359.975656, -0.000102,359.975656, -0.008047) || #text=XRS
+polygon(359.999898, -0.008047,359.999898, -0.000102,359.991953, -0.000102,359.991953, -0.008047) || #text=XRS
+polygon(359.999898, 0.000102,359.999898, 0.008047,359.991953, 0.008047,359.991953, 0.000102) || #text=XRS
+polygon(359.999898, 0.016399,359.999898, 0.024344,359.991953, 0.024344,359.991953, 0.016399) || #text=XRS
+polygon(359.999898, 0.008251,359.999898, 0.016196,359.991953, 0.016196,359.991953, 0.008251) || #text=XRS
+polygon(359.991749, 0.016399,359.991749, 0.024344,359.983804, 0.024344,359.983804, 0.016399) || #text=XRS
+polygon(359.991749, 0.008251,359.991749, 0.016196,359.983804, 0.016196,359.983804, 0.008251) || #text=XRS
+polygon(359.983601, 0.008251,359.983601, 0.016196,359.975656, 0.016196,359.975656, 0.008251) || #text=XRS
+polygon(359.991749, 0.000102,359.991749, 0.008047,359.983804, 0.008047,359.983804, 0.000102) || #text=XRS
+polygon(359.983601, 0.000102,359.983601, 0.008047,359.975656, 0.008047,359.975656, 0.000102) #text=XRS
diff --git a/ds9/template/mmt/binospec.tpl b/ds9/template/mmt/binospec.tpl
new file mode 100644
index 0000000..5f8179a
--- /dev/null
+++ b/ds9/template/mmt/binospec.tpl
@@ -0,0 +1,6 @@
+# Region file format: DS9 version 4.0
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) || composite=1
+box(359.9225,0,480",900",0) || # tag={Bino}
+box(0.077500142,0,480",900",0) # tag={Bino}
diff --git a/ds9/template/mmt/hecto/hectochelle.tpl b/ds9/template/mmt/hecto/hectochelle.tpl
new file mode 100644
index 0000000..66bca36
--- /dev/null
+++ b/ds9/template/mmt/hecto/hectochelle.tpl
@@ -0,0 +1,6 @@
+# Region file format: DS9 version 4.0
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) ||
+point(0,0) || # point=boxcircle
+circle(0,0,1800")
diff --git a/ds9/template/mmt/hecto/hectospec.tpl b/ds9/template/mmt/hecto/hectospec.tpl
new file mode 100644
index 0000000..66bca36
--- /dev/null
+++ b/ds9/template/mmt/hecto/hectospec.tpl
@@ -0,0 +1,6 @@
+# Region file format: DS9 version 4.0
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) ||
+point(0,0) || # point=boxcircle
+circle(0,0,1800")
diff --git a/ds9/template/mmt/megacam/megacam-amp-guide.tpl b/ds9/template/mmt/megacam/megacam-amp-guide.tpl
new file mode 100644
index 0000000..5596c05
--- /dev/null
+++ b/ds9/template/mmt/megacam/megacam-amp-guide.tpl
@@ -0,0 +1,153 @@
+# Region file format: DS9 version 4.0
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0|| composite=1
+point(0,0) || # point=boxcircle
+# text(359.83864,-0.20117642) || textangle=89.5 text={A1}
+box(359.83867,-0.20115398,81.586975",367.7002",89.5) ||
+# text(359.83844,-0.1784702) || textangle=89.5 text={A2}
+box(359.83847,-0.17844776,81.586975",367.7002",89.5) ||
+# text(359.83823,-0.15407873) || textangle=89.5 text={A3}
+box(359.83825,-0.15405641,81.586975",367.7002",89.5) ||
+# text(359.83803,-0.13137242) || textangle=89.5 text={A4}
+box(359.83805,-0.13135009,81.586975",367.7002",89.5) ||
+# text(359.83783,-0.10698076) || textangle=89.5 text={A5}
+box(359.83785,-0.10695843,81.586975",367.7002",89.5) ||
+# text(359.83762,-0.084274433) || textangle=89.5 text={A6}
+box(359.83764,-0.084252106,81.586975",367.7002",89.5) ||
+# text(359.83742,-0.059882774) || textangle=89.5 text={A7}
+box(359.83744,-0.059860347,81.586975",367.7002",89.5) ||
+# text(359.83722,-0.037176259) || textangle=89.5 text={A8}
+box(359.83724,-0.037153931,81.586975",367.7002",89.5) ||
+# text(359.837,-0.012784701) || textangle=89.5 text={A9}
+box(359.83703,-0.012762259,81.586975",367.7002",89.5) ||
+# text(359.8368,0.0099217144) || textangle=89.5 text={A10}
+box(359.83683,0.0099441558,81.586975",367.7002",89.5) ||
+# text(359.83658,0.034313386) || textangle=89.5 text={A11}
+box(359.8366,0.034335714,81.586975",367.7002",89.5) ||
+# text(359.83639,0.057019803) || textangle=89.5 text={A12}
+box(359.8364,0.05704213,81.586975",367.7002",89.5) ||
+# text(359.83618,0.081411562) || textangle=89.5 text={A13}
+box(359.8362,0.081433889,81.586975",367.7002",89.5) ||
+# text(359.83597,0.10411788) || textangle=89.5 text={A14}
+box(359.83599,0.10414022,81.586975",367.7002",89.5) ||
+# text(359.83577,0.12850954) || textangle=89.5 text={A15}
+box(359.83579,0.12853188,81.586975",367.7002",89.5) ||
+# text(359.83557,0.15121586) || textangle=89.5 text={A16}
+box(359.83559,0.15123819,81.586975",367.7002",89.5) ||
+# text(359.83535,0.17560722) || textangle=89.5 text={A17}
+box(359.83537,0.17562955,81.586975",367.7002",89.5) ||
+# text(359.83515,0.19831344) || textangle=89.5 text={A18}
+box(359.83518,0.19833588,81.586975",367.7002",89.5) ||
+# text(359.95003,-0.20020716) || textangle=89.5 text={A19}
+box(359.95007,-0.2001846,81.586975",367.7002",89.5) ||
+# text(359.94983,-0.17750084) || textangle=89.5 text={A20}
+box(359.94987,-0.17747829,81.586975",367.7002",89.5) ||
+# text(359.94962,-0.15310927) || textangle=89.5 text={A21}
+box(359.94966,-0.15308671,81.586975",367.7002",89.5) ||
+# text(359.94942,-0.13040286) || textangle=89.5 text={A22}
+box(359.94946,-0.1303804,81.586975",367.7002",89.5) ||
+# text(359.9492,-0.1060113) || textangle=89.5 text={A23}
+box(359.94924,-0.10598873,81.586975",367.7002",89.5) ||
+# text(359.94901,-0.08330477) || textangle=89.5 text={A24}
+box(359.94905,-0.083282213,81.586975",367.7002",89.5) ||
+# text(359.94878,-0.058913113) || textangle=89.5 text={A25}
+box(359.94883,-0.058890441,81.586975",367.7002",89.5) ||
+# text(359.94859,-0.036206483) || textangle=89.5 text={A26}
+box(359.94863,-0.036184025,81.586975",367.7002",89.5) ||
+# text(359.94838,-0.011814738) || textangle=89.5 text={A27}
+box(359.94843,-0.011792066,81.586975",367.7002",89.5) ||
+# text(359.94818,0.010891805) || textangle=89.5 text={A28}
+box(359.94822,0.010914362,81.586975",367.7002",89.5) ||
+# text(359.94797,0.03528355) || textangle=89.5 text={A29}
+box(359.94802,0.035306221,81.586975",367.7002",89.5) ||
+# text(359.94777,0.057990092) || textangle=89.5 text={A30}
+box(359.94781,0.058012649,81.586975",367.7002",89.5) ||
+# text(359.94756,0.082381837) || textangle=89.5 text={A31}
+box(359.94761,0.082404408,81.586975",367.7002",89.5) ||
+# text(359.94735,0.10508817) || textangle=89.5 text={A32}
+box(359.9474,0.10511083,81.586975",367.7002",89.5) ||
+# text(359.94715,0.12947993) || textangle=89.5 text={A33}
+box(359.9472,0.12950259,81.586975",367.7002",89.5) ||
+# text(359.94695,0.15218634) || textangle=89.5 text={A34}
+box(359.947,0.15220891,81.586975",367.7002",89.5) ||
+# text(359.94673,0.17657792) || textangle=89.5 text={A35}
+box(359.94678,0.17660058,81.586975",367.7002",89.5) ||
+# text(359.94654,0.19928423) || textangle=89.5 text={A36}
+box(359.94659,0.1993068,81.586975",367.7002",89.5) ||
+# text(0.053422167,-0.19930672) || textangle=89.5 text={A37}
+box(0.053451906,-0.19928428,81.586975",367.7002",89.5) ||
+# text(0.053230353,-0.17660032) || textangle=89.5 text={A38}
+box(0.053250094,-0.17657799,81.586975",367.7002",89.5) ||
+# text(0.053019108,-0.15220873) || textangle=89.5 text={A39}
+box(0.053038849,-0.1521864,81.586975",367.7002",89.5) ||
+# text(0.052817296,-0.12950244) || textangle=89.5 text={A40}
+box(0.052837036,-0.12948012,81.586975",367.7002",89.5) ||
+# text(0.052606049,-0.10511075) || textangle=89.5 text={A41}
+box(0.052625787,-0.10508833,81.586975",367.7002",89.5) ||
+# text(0.052404233,-0.082404267) || textangle=89.5 text={A42}
+box(0.052423972,-0.082381938,81.586975",367.7002",89.5) ||
+# text(0.052192982,-0.058012476) || textangle=89.5 text={A43}
+box(0.052212722,-0.057990148,81.586975",367.7002",89.5) ||
+# text(0.051991165,-0.035306089) || textangle=89.5 text={A44}
+box(0.052010904,-0.035283661,81.586975",367.7002",89.5) ||
+# text(0.051779913,-0.010914299) || textangle=89.5 text={A45}
+box(0.051799651,-0.010891871,81.586975",367.7002",89.5) ||
+# text(0.051578093,0.011792188) || textangle=89.5 text={A46}
+box(0.051597832,0.011814616,81.586975",367.7002",89.5) ||
+# text(0.051366839,0.036183977) || textangle=89.5 text={A47}
+box(0.051386577,0.036206406,81.586975",367.7002",89.5) ||
+# text(0.051165016,0.058890464) || textangle=89.5 text={A48}
+box(0.051194752,0.058912908,81.586975",367.7002",89.5) ||
+# text(0.05095376,0.083282255) || textangle=89.5 text={A49}
+box(0.050973498,0.083304583,81.586975",367.7002",89.5) ||
+# text(0.050761932,0.10598876) || textangle=89.5 text={A50}
+box(0.050781669,0.10601119,81.586975",367.7002",89.5) ||
+# text(0.050540675,0.13038043) || textangle=89.5 text={A51}
+box(0.05057041,0.13040288,81.586975",367.7002",89.5) ||
+# text(0.050348846,0.15308683) || textangle=89.5 text={A52}
+box(0.050368584,0.15310917,81.586975",367.7002",89.5) ||
+# text(0.050127588,0.17747831) || textangle=89.5 text={A53}
+box(0.050157322,0.17750076,81.586975",367.7002",89.5) ||
+# text(0.049935755,0.20018471) || textangle=89.5 text={A54}
+box(0.049955493,0.20020703,81.586975",367.7002",89.5) ||
+# text(0.16483089,-0.19833571) || textangle=89.5 text={A55}
+box(0.16485064,-0.19831338,81.586975",367.7002",89.5) ||
+# text(0.16462814,-0.17562963) || textangle=89.5 text={A56}
+box(0.16465787,-0.17560709,81.586975",367.7002",89.5) ||
+# text(0.16441587,-0.15123805) || textangle=89.5 text={A57}
+box(0.16443561,-0.15121572,81.586975",367.7002",89.5) ||
+# text(0.1642231,-0.12853175) || textangle=89.5 text={A58}
+box(0.16424285,-0.12850943,81.586975",367.7002",89.5) ||
+# text(0.16401084,-0.10414017) || textangle=89.5 text={A59}
+box(0.16403057,-0.10411775,81.586975",367.7002",89.5) ||
+# text(0.16380807,-0.081433798) || textangle=89.5 text={A60}
+box(0.16382782,-0.081411469,81.586975",367.7002",89.5) ||
+# text(0.16359581,-0.057042117) || textangle=89.5 text={A61}
+box(0.16361554,-0.057019787,81.586975",367.7002",89.5) ||
+# text(0.16339304,-0.034335739) || textangle=89.5 text={A62}
+box(0.16342277,-0.034313294,81.586975",367.7002",89.5) ||
+# text(0.16318077,-0.0099440576) || textangle=89.5 text={A63}
+box(0.16320051,-0.0099217278,81.586975",367.7002",89.5) ||
+# text(0.162988,0.012762437) || textangle=89.5 text={A64}
+box(0.16300773,0.012784766,81.586975",367.7002",89.5) ||
+# text(0.16277572,0.037154118) || textangle=89.5 text={A65}
+box(0.16279546,0.037176447,81.586975",367.7002",89.5) ||
+# text(0.16257296,0.059860497) || textangle=89.5 text={A66}
+box(0.16259269,0.059882825,81.586975",367.7002",89.5) ||
+# text(0.16236067,0.084252178) || textangle=89.5 text={A67}
+box(0.16238042,0.084274507,81.586975",367.7002",89.5) ||
+# text(0.1621579,0.10695856) || textangle=89.5 text={A68}
+box(0.16217764,0.10698089,81.586975",367.7002",89.5) ||
+# text(0.16194562,0.13135014) || textangle=89.5 text={A69}
+box(0.16196536,0.13137247,81.586975",367.7002",89.5) ||
+# text(0.16175284,0.15405653) || textangle=89.5 text={A70}
+box(0.16177259,0.15407886,81.586975",367.7002",89.5) ||
+# text(0.16153057,0.1784479) || textangle=89.5 text={A71}
+box(0.1615603,0.17847035,81.586975",367.7002",89.5) ||
+# text(0.16133779,0.20115409) || textangle=89.5 text={A72}
+box(0.16135752,0.20117652,81.586975",367.7002",89.5)||
+# text(359.99712,0.32469933) || textangle=89.429076 text={G1}
+box(359.99712,0.32469933,163.33361",367.7002",89.429076) ||
+# text(0.0028790655,-0.32469933) || textangle=89.429076 text={G2}
+box(0.0028790655,-0.32469933,163.33361",367.7002",89.429076)
diff --git a/ds9/template/mmt/megacam/megacam-amp.tpl b/ds9/template/mmt/megacam/megacam-amp.tpl
new file mode 100644
index 0000000..e17f862
--- /dev/null
+++ b/ds9/template/mmt/megacam/megacam-amp.tpl
@@ -0,0 +1,150 @@
+# Region file format: DS9 version 4.0
+# Filename: /home/joye/templates/sao/megacam.fits[IM1]
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) ||
+point(0,0) || # point=boxcircle
+# text(359.83689,-0.19976359) || textangle=90 text={A1}
+box(359.83692,-0.19974141,81.586975",367.7002",90) ||
+# text(359.83689,-0.17705651) || textangle=90 text={A2}
+box(359.83692,-0.17703433,81.586975",367.7002",90) ||
+# text(359.83689,-0.15266411) || textangle=90 text={A3}
+box(359.83691,-0.15264196,81.586975",367.7002",90) ||
+# text(359.83689,-0.12995693) || textangle=90 text={A4}
+box(359.83691,-0.12993478,81.586975",367.7002",90) ||
+# text(359.8369,-0.10556443) || textangle=90 text={A5}
+box(359.83692,-0.10554228,81.586975",367.7002",90) ||
+# text(359.83689,-0.082857155) || textangle=90 text={A6}
+box(359.83691,-0.082835001,81.586975",367.7002",90) ||
+# text(359.8369,-0.058464655) || textangle=90 text={A7}
+box(359.83692,-0.058442401,81.586975",367.7002",90) ||
+# text(359.8369,-0.035757276) || textangle=90 text={A8}
+box(359.83692,-0.035735122,81.586975",367.7002",90) ||
+# text(359.83689,-0.011364703) || textangle=90 text={A9}
+box(359.83692,-0.011342522,81.586975",367.7002",90) ||
+# text(359.83689,0.011342576) || textangle=90 text={A10}
+box(359.83692,0.011364757,81.586975",367.7002",90) ||
+# text(359.83689,0.035735176) || textangle=90 text={A11}
+box(359.83691,0.03575733,81.586975",367.7002",90) ||
+# text(359.83689,0.058442456) || textangle=90 text={A12}
+box(359.83691,0.05846461,81.586975",367.7002",90) ||
+# text(359.8369,0.082835056) || textangle=90 text={A13}
+box(359.83692,0.08285721,81.586975",367.7002",90) ||
+# text(359.83689,0.10554233) || textangle=90 text={A14}
+box(359.83691,0.10556449,81.586975",367.7002",90) ||
+# text(359.8369,0.12993483) || textangle=90 text={A15}
+box(359.83692,0.12995699,81.586975",367.7002",90) ||
+# text(359.8369,0.15264201) || textangle=90 text={A16}
+box(359.83692,0.15266417,81.586975",367.7002",90) ||
+# text(359.83689,0.17703439) || textangle=90 text={A17}
+box(359.83691,0.17705654,81.586975",367.7002",90) ||
+# text(359.83689,0.19974147) || textangle=90 text={A18}
+box(359.83692,0.19976365,81.586975",367.7002",90) ||
+# text(359.94828,-0.19976436) || textangle=90 text={A19}
+box(359.94832,-0.19974215,81.586975",367.7002",90) ||
+# text(359.94828,-0.17705718) || textangle=90 text={A20}
+box(359.94832,-0.17703497,81.586975",367.7002",90) ||
+# text(359.94828,-0.15266468) || textangle=90 text={A21}
+box(359.94832,-0.15264247,81.586975",367.7002",90) ||
+# text(359.94828,-0.1299574) || textangle=90 text={A22}
+box(359.94832,-0.12993529,81.586975",367.7002",90) ||
+# text(359.94827,-0.10556483) || textangle=90 text={A23}
+box(359.94832,-0.10554269,81.586975",367.7002",90) ||
+# text(359.94828,-0.082857522) || textangle=90 text={A24}
+box(359.94832,-0.082835313,81.586975",367.7002",90) ||
+# text(359.94827,-0.05846485) || textangle=90 text={A25}
+box(359.94832,-0.058442613,81.586975",367.7002",90) ||
+# text(359.94828,-0.035757443) || textangle=90 text={A26}
+box(359.94832,-0.035735333,81.586975",367.7002",90) ||
+# text(359.94828,-0.01136477) || textangle=90 text={A27}
+box(359.94833,-0.011342533,81.586975",367.7002",90) ||
+# text(359.94828,0.011342636) || textangle=90 text={A28}
+box(359.94832,0.011364846,81.586975",367.7002",90) ||
+# text(359.94828,0.035735309) || textangle=90 text={A29}
+box(359.94833,0.035757546,81.586975",367.7002",90) ||
+# text(359.94828,0.058442715) || textangle=90 text={A30}
+box(359.94832,0.058464925,81.586975",367.7002",90) ||
+# text(359.94828,0.082835388) || textangle=90 text={A31}
+box(359.94833,0.082857525,81.586975",367.7002",90) ||
+# text(359.94827,0.10554267) || textangle=90 text={A32}
+box(359.94832,0.1055649,81.586975",367.7002",90) ||
+# text(359.94828,0.12993527) || textangle=90 text={A33}
+box(359.94833,0.1299575,81.586975",367.7002",90) ||
+# text(359.94828,0.15264255) || textangle=90 text={A34}
+box(359.94833,0.15266468,81.586975",367.7002",90) ||
+# text(359.94828,0.17703505) || textangle=90 text={A35}
+box(359.94833,0.17705728,81.586975",367.7002",90) ||
+# text(359.94828,0.19974223) || textangle=90 text={A36}
+box(359.94833,0.19976436,81.586975",367.7002",90) ||
+# text(0.051677255,-0.19976435) || textangle=90 text={A37}
+box(0.051707189,-0.19974217,81.586975",367.7002",90) ||
+# text(0.051684011,-0.17705714) || textangle=90 text={A38}
+box(0.051703946,-0.17703499,81.586975",367.7002",90) ||
+# text(0.051686072,-0.15266464) || textangle=90 text={A39}
+box(0.051706007,-0.15264249,81.586975",367.7002",90) ||
+# text(0.051682828,-0.12995746) || textangle=90 text={A40}
+box(0.051702762,-0.12993531,81.586975",367.7002",90) ||
+# text(0.051684887,-0.10556486) || textangle=90 text={A41}
+box(0.051704821,-0.10554261,81.586975",367.7002",90) ||
+# text(0.05168164,-0.082857485) || textangle=90 text={A42}
+box(0.051701574,-0.082835329,81.586975",367.7002",90) ||
+# text(0.051683696,-0.058464784) || textangle=90 text={A43}
+box(0.05170363,-0.058442629,81.586975",367.7002",90) ||
+# text(0.051680447,-0.035757505) || textangle=90 text={A44}
+box(0.051700381,-0.03573525,81.586975",367.7002",90) ||
+# text(0.051682501,-0.011364805) || textangle=90 text={A45}
+box(0.051702435,-0.011342549,81.586975",367.7002",90) ||
+# text(0.05167925,0.011342574) || textangle=90 text={A46}
+box(0.051699184,0.01136483,81.586975",367.7002",90) ||
+# text(0.051681302,0.035735274) || textangle=90 text={A47}
+box(0.051701235,0.03575753,81.586975",367.7002",90) ||
+# text(0.051678048,0.058442653) || textangle=90 text={A48}
+box(0.051707979,0.058464837,81.586975",367.7002",90) ||
+# text(0.051680098,0.082835354) || textangle=90 text={A49}
+box(0.051700031,0.082857509,81.586975",367.7002",90) ||
+# text(0.051686839,0.10554266) || textangle=90 text={A50}
+box(0.051706772,0.10556492,81.586975",367.7002",90) ||
+# text(0.051678889,0.12993533) || textangle=90 text={A51}
+box(0.051708819,0.12995752,81.586975",367.7002",90) ||
+# text(0.051685628,0.15264254) || textangle=90 text={A52}
+box(0.051705561,0.1526647,81.586975",367.7002",90) ||
+# text(0.051677676,0.17703501) || textangle=90 text={A53}
+box(0.051707605,0.1770572,81.586975",367.7002",90) ||
+# text(0.051684413,0.19974222) || textangle=90 text={A54}
+box(0.051704345,0.19976437,81.586975",367.7002",90) ||
+# text(0.16309024,-0.19976357) || textangle=90 text={A55}
+box(0.16311018,-0.19974141,81.586975",367.7002",90) ||
+# text(0.16308605,-0.17705659) || textangle=90 text={A56}
+box(0.16311598,-0.17703431,81.586975",367.7002",90) ||
+# text(0.16308709,-0.15266409) || textangle=90 text={A57}
+box(0.16310702,-0.15264193,81.586975",367.7002",90) ||
+# text(0.16309289,-0.12995698) || textangle=90 text={A58}
+box(0.16311283,-0.12993483,81.586975",367.7002",90) ||
+# text(0.16309393,-0.10556448) || textangle=90 text={A59}
+box(0.16311386,-0.10554223,81.586975",367.7002",90) ||
+# text(0.16308973,-0.082857204) || textangle=90 text={A60}
+box(0.16310967,-0.082835048,81.586975",367.7002",90) ||
+# text(0.16309077,-0.058464604) || textangle=90 text={A61}
+box(0.1631107,-0.058442447,81.586975",367.7002",90) ||
+# text(0.16308657,-0.035757325) || textangle=90 text={A62}
+box(0.1631165,-0.03573514,81.586975",367.7002",90) ||
+# text(0.1630876,-0.011364725) || textangle=90 text={A63}
+box(0.16310754,-0.011342568,81.586975",367.7002",90) ||
+# text(0.1630934,0.011342583) || textangle=90 text={A64}
+box(0.16311333,0.011364739,81.586975",367.7002",90) ||
+# text(0.16309443,0.035735183) || textangle=90 text={A65}
+box(0.16311436,0.035757339,81.586975",367.7002",90) ||
+# text(0.16309023,0.058442462) || textangle=90 text={A66}
+box(0.16311016,0.058464618,81.586975",367.7002",90) ||
+# text(0.16309125,0.082835062) || textangle=90 text={A67}
+box(0.16311119,0.082857219,81.586975",367.7002",90) ||
+# text(0.16308705,0.10554234) || textangle=90 text={A68}
+box(0.16310698,0.1055645,81.586975",367.7002",90) ||
+# text(0.16308807,0.12993484) || textangle=90 text={A69}
+box(0.16310801,0.129957,81.586975",367.7002",90) ||
+# text(0.16309386,0.15264205) || textangle=90 text={A70}
+box(0.1631138,0.1526642,81.586975",367.7002",90) ||
+# text(0.16308489,0.17703442) || textangle=90 text={A71}
+box(0.16311482,0.17705661,81.586975",367.7002",90) ||
+# text(0.16309068,0.19974143) || textangle=90 text={A72}
+box(0.16311061,0.19976368,81.586975",367.7002",90)
diff --git a/ds9/template/mmt/megacam/megacam-chip-guide.tpl b/ds9/template/mmt/megacam/megacam-chip-guide.tpl
new file mode 100644
index 0000000..ce8bdc1
--- /dev/null
+++ b/ds9/template/mmt/megacam/megacam-chip-guide.tpl
@@ -0,0 +1,82 @@
+# Region file format: DS9 version 4.0
+# Filename: /tmp/dss1224085352034269.fits.gz
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) || composite=1
+point(0,0) || # point=boxcircle
+# text(359.83879,-0.19000008) || textangle=89.429076 text={C1}
+box(359.83881,-0.19002199,163.33361",367.7002",89.429076) ||
+# text(359.83831,-0.14290288) || textangle=89.429076 text={C2}
+box(359.83833,-0.14292488,163.33361",367.7002",89.429076) ||
+# text(359.83784,-0.095805501) || textangle=89.429076 text={C3}
+box(359.83787,-0.095827401,163.33361",367.7002",89.429076) ||
+# text(359.83737,-0.048708098) || textangle=89.429076 text={C4}
+box(359.83739,-0.048729996,163.33361",367.7002",89.429076) ||
+# text(359.8369,-0.0016104951) || textangle=89.429076 text={C5}
+box(359.83692,-0.0016323935,163.33361",367.7002",89.429076) ||
+# text(359.83644,0.045487183) || textangle=89.429076 text={C6}
+box(359.83646,0.045465284,163.33361",367.7002",89.429076) ||
+# text(359.83596,0.092584587) || textangle=89.429076 text={C7}
+box(359.83598,0.09256259,163.33361",367.7002",89.429076) ||
+# text(359.8355,0.13968217) || textangle=89.429076 text={C8}
+box(359.83551,0.13966,163.33361",367.7002",89.429076) ||
+# text(359.83503,0.18677928) || textangle=89.429076 text={C9}
+box(359.83505,0.18675738,163.33361",367.7002",89.429076) ||
+# text(359.95017,-0.1888932) || textangle=89.429076 text={C10}
+box(359.9502,-0.188915,163.33361",367.7002",89.429076) ||
+# text(359.94969,-0.1417959) || textangle=89.429076 text={C11}
+box(359.94971,-0.1418178,163.33361",367.7002",89.429076) ||
+# text(359.94922,-0.094698394) || textangle=89.429076 text={C12}
+box(359.94924,-0.094720293,163.33361",367.7002",89.429076) ||
+# text(359.94875,-0.047600518) || textangle=89.429076 text={C13}
+box(359.94878,-0.047622515,163.33361",367.7002",89.429076) ||
+# text(359.94828,-0.00050291415) || textangle=89.429076 text={C14}
+box(359.9483,-0.00052481167,163.33361",367.7002",89.429076) ||
+# text(359.94781,0.046594788) || textangle=89.429076 text={C15}
+box(359.94783,0.046572792,163.33361",367.7002",89.429076) ||
+# text(359.94734,0.093692567) || textangle=89.429076 text={C16}
+box(359.94736,0.09367067,163.33361",367.7002",89.429076) ||
+# text(359.94687,0.14079007) || textangle=89.429076 text={C17}
+box(359.94689,0.14076818,163.33361",367.7002",89.429076) ||
+# text(359.94642,0.18788765) || textangle=89.429076 text={C18}
+box(359.94644,0.18786575,163.33361",367.7002",89.429076) ||
+# text(0.053560184,-0.18786505) || textangle=89.429076 text={C19}
+box(0.053590399,-0.18788685,163.33361",367.7002",89.429076) ||
+# text(0.053088973,-0.14076769) || textangle=89.429076 text={C20}
+box(0.053119188,-0.1407895,163.33361",367.7002",89.429076) ||
+# text(0.052617761,-0.093670143) || textangle=89.429076 text={C21}
+box(0.052647975,-0.093691943,163.33361",367.7002",89.429076) ||
+# text(0.052156546,-0.046572288) || textangle=89.429076 text={C22}
+box(0.052176763,-0.046594288,163.33361",367.7002",89.429076) ||
+# text(0.051685335,0.00052536623) || textangle=89.429076 text={C23}
+box(0.051705551,0.00050346653,163.33361",367.7002",89.429076) ||
+# text(0.051214124,0.047623121) || textangle=89.429076 text={C24}
+box(0.05123434,0.047601121,163.33361",367.7002",89.429076) ||
+# text(0.050742913,0.094720775) || textangle=89.429076 text={C25}
+box(0.050763127,0.094698876,163.33361",367.7002",89.429076) ||
+# text(0.0502717,0.14181833) || textangle=89.429076 text={C26}
+box(0.050291915,0.14179643,163.33361",367.7002",89.429076) ||
+# text(0.049800489,0.18891568) || textangle=89.429076 text={C27}
+box(0.049820703,0.18889379,163.33361",367.7002",89.429076) ||
+# text(0.1649667,-0.18675652) || textangle=89.429076 text={C28}
+box(0.16498692,-0.18677841,163.33361",367.7002",89.429076) ||
+# text(0.16449352,-0.13965928) || textangle=89.429076 text={C29}
+box(0.16451373,-0.13968127,163.33361",367.7002",89.429076) ||
+# text(0.16402034,-0.092561943) || textangle=89.429076 text={C30}
+box(0.16405055,-0.092583842,163.33361",367.7002",89.429076) ||
+# text(0.16355716,-0.045464409) || textangle=89.429076 text={C31}
+box(0.16357738,-0.045486307,163.33361",367.7002",89.429076) ||
+# text(0.16308398,0.001633126) || textangle=89.429076 text={C32}
+box(0.16310419,0.0016112271,163.33361",367.7002",89.429076) ||
+# text(0.16261079,0.04873076) || textangle=89.429076 text={C33}
+box(0.16264101,0.048708862,163.33361",367.7002",89.429076) ||
+# text(0.16214762,0.095828296) || textangle=89.429076 text={C34}
+box(0.16216783,0.095806296,163.33361",367.7002",89.429076) ||
+# text(0.16167444,0.14292563) || textangle=89.429076 text={C35}
+box(0.16169464,0.14290364,163.33361",367.7002",89.429076) ||
+# text(0.16120125,0.19002276) || textangle=89.429076 text={C36}
+box(0.16122147,0.19000087,163.33361",367.7002",89.429076) ||
+# text(359.9993,0.32469933) || textangle=89.429076 text={G1}
+box(359.9993,0.32469933,163.33361",364",89.429076) ||
+# text(0.0007,-0.32469933) || textangle=89.429076 text={G2}
+box(0.0007,-0.32469933,163.33361",364",89.429076)
diff --git a/ds9/template/mmt/megacam/megacam-chip.tpl b/ds9/template/mmt/megacam/megacam-chip.tpl
new file mode 100644
index 0000000..532298f
--- /dev/null
+++ b/ds9/template/mmt/megacam/megacam-chip.tpl
@@ -0,0 +1,78 @@
+# Region file format: DS9 version 4.0
+# Filename: /home/joye/templates/sao/megacam.fits[IM1]
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) ||
+point(0,0) || # point=boxcircle
+# text(359.8369,-0.1883876) || textangle=90 text={C1}
+box(359.83692,-0.18840971,163.33361",367.7002",90) ||
+# text(359.8369,-0.141288) || textangle=90 text={C2}
+box(359.83692,-0.14131021,163.33361",367.7002",90) ||
+# text(359.83689,-0.094188304) || textangle=90 text={C3}
+box(359.83692,-0.094210505,163.33361",367.7002",90) ||
+# text(359.83689,-0.047088504) || textangle=90 text={C4}
+box(359.83691,-0.047110605,163.33361",367.7002",90) ||
+# text(359.8369,1.1396249e-05) || textangle=90 text={C5}
+box(359.83692,-1.0704976e-05,163.33361",367.7002",90) ||
+# text(359.8369,0.047111296) || textangle=90 text={C6}
+box(359.83692,0.047089195,163.33361",367.7002",90) ||
+# text(359.83689,0.094211197) || textangle=90 text={C7}
+box(359.83691,0.094188996,163.33361",367.7002",90) ||
+# text(359.8369,0.1413109) || textangle=90 text={C8}
+box(359.83692,0.1412887,163.33361",367.7002",90) ||
+# text(359.8369,0.1884104) || textangle=90 text={C9}
+box(359.83692,0.1883883,163.33361",367.7002",90) ||
+# text(359.94828,-0.1883883) || textangle=90 text={C10}
+box(359.94831,-0.1884104,163.33361",367.7002",90) ||
+# text(359.94828,-0.1412886) || textangle=90 text={C11}
+box(359.9483,-0.1413107,163.33361",367.7002",90) ||
+# text(359.94828,-0.0941887) || textangle=90 text={C12}
+box(359.9483,-0.094210801,163.33361",367.7002",90) ||
+# text(359.94828,-0.047088601) || textangle=90 text={C13}
+box(359.9483,-0.047110801,163.33361",367.7002",90) ||
+# text(359.94828,1.1399465e-05) || textangle=90 text={C14}
+box(359.9483,-1.0700924e-05,163.33361",367.7002",90) ||
+# text(359.94828,0.047111499) || textangle=90 text={C15}
+box(359.9483,0.047089299,163.33361",367.7002",90) ||
+# text(359.94828,0.0942115) || textangle=90 text={C16}
+box(359.9483,0.094189399,163.33361",367.7002",90) ||
+# text(359.94828,0.1413114) || textangle=90 text={C17}
+box(359.9483,0.1412893,163.33361",367.7002",90) ||
+# text(359.94829,0.1884111) || textangle=90 text={C18}
+box(359.94831,0.188389,163.33361",367.7002",90) ||
+# text(0.051681678,-0.1883883) || textangle=90 text={C19}
+box(0.051711674,-0.1884104,163.33361",367.7002",90) ||
+# text(0.051680764,-0.1412886) || textangle=90 text={C20}
+box(0.051710759,-0.1413107,163.33361",367.7002",90) ||
+# text(0.051679849,-0.094188702) || textangle=90 text={C21}
+box(0.051709844,-0.094210801,163.33361",367.7002",90) ||
+# text(0.051688932,-0.047088601) || textangle=90 text={C22}
+box(0.051708928,-0.047110801,163.33361",367.7002",90) ||
+# text(0.051688017,1.1398494e-05) || textangle=90 text={C23}
+box(0.051708013,-1.0701118e-05,163.33361",367.7002",90) ||
+# text(0.051687103,0.047111498) || textangle=90 text={C24}
+box(0.051707098,0.047089299,163.33361",367.7002",90) ||
+# text(0.051686188,0.094211499) || textangle=90 text={C25}
+box(0.051706183,0.094189399,163.33361",367.7002",90) ||
+# text(0.051685273,0.1413114) || textangle=90 text={C26}
+box(0.051705268,0.1412893,163.33361",367.7002",90) ||
+# text(0.051684358,0.1884111) || textangle=90 text={C27}
+box(0.051704353,0.188389,163.33361",367.7002",90) ||
+# text(0.16309374,-0.18838761) || textangle=90 text={C28}
+box(0.16311374,-0.1884097,163.33361",367.7002",90) ||
+# text(0.16309085,-0.14128801) || textangle=90 text={C29}
+box(0.16311085,-0.1413102,163.33361",367.7002",90) ||
+# text(0.16308797,-0.094188306) || textangle=90 text={C30}
+box(0.16311796,-0.094210504,163.33361",367.7002",90) ||
+# text(0.16309508,-0.047088505) || textangle=90 text={C31}
+box(0.16311508,-0.047110604,163.33361",367.7002",90) ||
+# text(0.16309219,1.1394411e-05) || textangle=90 text={C32}
+box(0.16311219,-1.0704364e-05,163.33361",367.7002",90) ||
+# text(0.1630893,0.047111394) || textangle=90 text={C33}
+box(0.1631193,0.047089196,163.33361",367.7002",90) ||
+# text(0.16309642,0.094211195) || textangle=90 text={C34}
+box(0.16311641,0.094188996,163.33361",367.7002",90) ||
+# text(0.16309353,0.14131089) || textangle=90 text={C35}
+box(0.16311352,0.1412887,163.33361",367.7002",90) ||
+# text(0.16309064,0.18841039) || textangle=90 text={C36}
+box(0.16311064,0.1883883,163.33361",367.7002",90)
diff --git a/ds9/template/mmt/mmirs/image.tpl b/ds9/template/mmt/mmirs/image.tpl
new file mode 100644
index 0000000..9c2768d
--- /dev/null
+++ b/ds9/template/mmt/mmirs/image.tpl
@@ -0,0 +1,14 @@
+# Region file format: DS9 version 4.1
+# Filename: test.fits
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,5.2213707e-05) || composite=1
+box(0,0,408",408",5.2213707e-05) || # tag={Mask}
+polygon(359.89225,-0.00012771548,359.89222,0.016979321,359.89215,0.057385486,359.90996,0.092233383,359.94322,0.11811841,359.98286,0.13249802,1.6000224e-06,0.11759077,8.5553752e-07,0.091934992,359.98288,0.073283367,359.94221,0.069587115,359.92874,0.054886822,359.92887,-0.055011809,359.94234,-0.069675137,359.98292,-0.073297943,1.9770939e-06,-0.091934318,3.0342173e-06,-0.11759067,359.98294,-0.13251162,359.94344,-0.11820308,359.91024,-0.092419349,359.89236,-0.057641649,359.89229,-0.017235729) || # tag={Mask}
+polygon(359.89225,-0.00012771548,359.89222,0.016944321,359.89215,0.056508482,359.91364,0.088477822,359.94746,0.1093244,359.98286,0.1175641,359.98287,0.091928249,359.93711,0.086467601,359.92194,0.079989511,359.91524,0.062597422,359.91542,-0.062765368,359.92215,-0.080135045,359.93729,-0.08656855,359.98293,-0.091941579,359.98293,-0.117578,359.94765,-0.10939812,359.9139,-0.088649851,359.89236,-0.056764653,359.89229,-0.017200729) || # tag={Mask}
+# text(359.90741,-9.7747524e-05) || textangle=270.00005 text={Camera 1} tag={Mask}
+polygon(0.11279767,-7.9210806e-05,0.11283029,0.017027184,0.11290769,0.057431829,0.090040766,0.092277881,0.056787713,0.11814596,0.017143943,0.13250625,1.6000224e-06,0.11759077,8.5553752e-07,0.091934992,0.017125131,0.073291941,0.057793497,0.069616127,0.071262324,0.054922962,0.071130502,-0.054973028,0.057658219,-0.069643411,0.017083571,-0.073288523,1.9770939e-06,-0.091934318,3.0342173e-06,-0.11759067,0.017068804,-0.13250186,0.056562363,-0.11817101,0.089760798,-0.092369245,0.11268869,-0.057590992,0.11276514,-0.017186583) || # tag={Mask}
+polygon(0.11279767,-7.9210806e-05,0.11283022,0.016992185,0.11192484,0.056556496,0.086360832,0.088520613,0.052547573,0.10935005,0.017139089,0.11757242,0.017130929,0.091936714,0.062891853,0.086498803,0.078062803,0.080028419,0.084756883,0.062640181,0.084577917,-0.062719024,0.077852405,-0.080091921,0.0627089,-0.086533678,0.017078796,-0.091932052,0.017072419,-0.11756833,0.052354648,-0.1093686,0.086103276,-0.088601901,0.11171106,-0.056712414,0.11276521,-0.017151584) || # tag={Mask}
+# text(0.092595036,-4.9017175e-05) || textangle=90.000052 text={Camera 2} tag={Mask}
+# vector(359.96798,0.055537453,180",180.00005) || vector=1 tag={Mask}
+# text(359.98315,0.062281588) textangle=180.00005 text={Wavelength} tag={Mask}
diff --git a/ds9/template/mmt/mmirs/longslit.tpl b/ds9/template/mmt/mmirs/longslit.tpl
new file mode 100644
index 0000000..7087e80
--- /dev/null
+++ b/ds9/template/mmt/mmirs/longslit.tpl
@@ -0,0 +1,14 @@
+# Region file format: DS9 version 4.1
+# Filename: test.fits
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,5.2213707e-05) || composite=1
+box(0,0,1",408",5.2213707e-05) || # tag={Mask}
+polygon(359.89225,-0.00012771548,359.89222,0.016979321,359.89215,0.057385486,359.90996,0.092233383,359.94322,0.11811841,359.98286,0.13249802,1.6000224e-06,0.11759077,8.5553752e-07,0.091934992,359.98288,0.073283367,359.94221,0.069587115,359.92874,0.054886822,359.92887,-0.055011809,359.94234,-0.069675137,359.98292,-0.073297943,1.9770939e-06,-0.091934318,3.0342173e-06,-0.11759067,359.98294,-0.13251162,359.94344,-0.11820308,359.91024,-0.092419349,359.89236,-0.057641649,359.89229,-0.017235729) || # tag={Mask}
+polygon(359.89225,-0.00012771548,359.89222,0.016944321,359.89215,0.056508482,359.91364,0.088477822,359.94746,0.1093244,359.98286,0.1175641,359.98287,0.091928249,359.93711,0.086467601,359.92194,0.079989511,359.91524,0.062597422,359.91542,-0.062765368,359.92215,-0.080135045,359.93729,-0.08656855,359.98293,-0.091941579,359.98293,-0.117578,359.94765,-0.10939812,359.9139,-0.088649851,359.89236,-0.056764653,359.89229,-0.017200729) || # tag={Mask}
+# text(359.90741,-9.7747524e-05) || textangle=270.00005 text={Camera 1} tag={Mask}
+polygon(0.11279767,-7.9210806e-05,0.11283029,0.017027184,0.11290769,0.057431829,0.090040766,0.092277881,0.056787713,0.11814596,0.017143943,0.13250625,1.6000224e-06,0.11759077,8.5553752e-07,0.091934992,0.017125131,0.073291941,0.057793497,0.069616127,0.071262324,0.054922962,0.071130502,-0.054973028,0.057658219,-0.069643411,0.017083571,-0.073288523,1.9770939e-06,-0.091934318,3.0342173e-06,-0.11759067,0.017068804,-0.13250186,0.056562363,-0.11817101,0.089760798,-0.092369245,0.11268869,-0.057590992,0.11276514,-0.017186583) || # tag={Mask}
+polygon(0.11279767,-7.9210806e-05,0.11283022,0.016992185,0.11192484,0.056556496,0.086360832,0.088520613,0.052547573,0.10935005,0.017139089,0.11757242,0.017130929,0.091936714,0.062891853,0.086498803,0.078062803,0.080028419,0.084756883,0.062640181,0.084577917,-0.062719024,0.077852405,-0.080091921,0.0627089,-0.086533678,0.017078796,-0.091932052,0.017072419,-0.11756833,0.052354648,-0.1093686,0.086103276,-0.088601901,0.11171106,-0.056712414,0.11276521,-0.017151584) || # tag={Mask}
+# text(0.092595036,-4.9017175e-05) || textangle=90.000052 text={Camera 2} tag={Mask}
+# vector(359.96798,0.055537453,180",180.00005) || vector=1 tag={Mask}
+# text(359.98315,0.062281588) textangle=180.00005 text={Wavelength} tag={Mask}
diff --git a/ds9/template/mmt/mmirs/mask.tpl b/ds9/template/mmt/mmirs/mask.tpl
new file mode 100644
index 0000000..eae9fb2
--- /dev/null
+++ b/ds9/template/mmt/mmirs/mask.tpl
@@ -0,0 +1,14 @@
+# Region file format: DS9 version 4.1
+# Filename: test.fits
+global color=green dashlist=8 3 width=1 font="helvetica 10 normal" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
+wcs0;fk5
+# composite(0,0,5.2213707e-05) || composite=1
+box(0,0,240",408",5.2213707e-05) || # tag={Mask}
+polygon(359.89225,-0.00012771548,359.89222,0.016979321,359.89215,0.057385486,359.90996,0.092233383,359.94322,0.11811841,359.98286,0.13249802,1.6000224e-06,0.11759077,8.5553752e-07,0.091934992,359.98288,0.073283367,359.94221,0.069587115,359.92874,0.054886822,359.92887,-0.055011809,359.94234,-0.069675137,359.98292,-0.073297943,1.9770939e-06,-0.091934318,3.0342173e-06,-0.11759067,359.98294,-0.13251162,359.94344,-0.11820308,359.91024,-0.092419349,359.89236,-0.057641649,359.89229,-0.017235729) || # tag={Mask}
+polygon(359.89225,-0.00012771548,359.89222,0.016944321,359.89215,0.056508482,359.91364,0.088477822,359.94746,0.1093244,359.98286,0.1175641,359.98287,0.091928249,359.93711,0.086467601,359.92194,0.079989511,359.91524,0.062597422,359.91542,-0.062765368,359.92215,-0.080135045,359.93729,-0.08656855,359.98293,-0.091941579,359.98293,-0.117578,359.94765,-0.10939812,359.9139,-0.088649851,359.89236,-0.056764653,359.89229,-0.017200729) || # tag={Mask}
+# text(359.90741,-9.7747524e-05) || textangle=270.00005 text={Camera 1} tag={Mask}
+polygon(0.11279767,-7.9210806e-05,0.11283029,0.017027184,0.11290769,0.057431829,0.090040766,0.092277881,0.056787713,0.11814596,0.017143943,0.13250625,1.6000224e-06,0.11759077,8.5553752e-07,0.091934992,0.017125131,0.073291941,0.057793497,0.069616127,0.071262324,0.054922962,0.071130502,-0.054973028,0.057658219,-0.069643411,0.017083571,-0.073288523,1.9770939e-06,-0.091934318,3.0342173e-06,-0.11759067,0.017068804,-0.13250186,0.056562363,-0.11817101,0.089760798,-0.092369245,0.11268869,-0.057590992,0.11276514,-0.017186583) || # tag={Mask}
+polygon(0.11279767,-7.9210806e-05,0.11283022,0.016992185,0.11192484,0.056556496,0.086360832,0.088520613,0.052547573,0.10935005,0.017139089,0.11757242,0.017130929,0.091936714,0.062891853,0.086498803,0.078062803,0.080028419,0.084756883,0.062640181,0.084577917,-0.062719024,0.077852405,-0.080091921,0.0627089,-0.086533678,0.017078796,-0.091932052,0.017072419,-0.11756833,0.052354648,-0.1093686,0.086103276,-0.088601901,0.11171106,-0.056712414,0.11276521,-0.017151584) || # tag={Mask}
+# text(0.092595036,-4.9017175e-05) || textangle=90.000052 text={Camera 2} tag={Mask}
+# vector(359.96798,0.055537453,180",180.00005) || vector=1 tag={Mask}
+# text(359.98315,0.062281588) textangle=180.00005 text={Wavelength} tag={Mask}
diff --git a/ds9/template/mmt/swirc.tpl b/ds9/template/mmt/swirc.tpl
new file mode 100644
index 0000000..be64c9f
--- /dev/null
+++ b/ds9/template/mmt/swirc.tpl
@@ -0,0 +1,42 @@
+# Region file format: DS9 version 4.0
+# Filename: /home/joye/templates/sao/swirc.fits
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(0,0,0) ||
+point(0,0) || # point=boxcircle
+# text(359.97636,0.021004921) || font="times 12 normal" text={I}
+# text(359.97633,-0.021495059) || font="times 12 normal" text={II}
+# text(0.023662353,-0.021532975) || font="times 12 normal" text={III}
+# text(0.023196531,0.021134073) || font="times 12 normal" text={IV}
+box(0.021365501,0.02401054,153.6",19.2",0) ||
+box(0.021361229,0.01867721,153.6",19.2",0) ||
+box(359.97603,0.021380188,19.2",153.6",0) ||
+box(359.97866,-0.01862193,153.6",19.2",0) ||
+box(359.97866,-0.023955261,153.6",19.2",0) ||
+box(0.023995853,-0.021324909,19.2",153.6",0) ||
+box(0.021348413,0.0026772167,153.6",19.2",0) ||
+box(0.021352685,0.0080105479,153.6",19.2",0) ||
+box(0.021356957,0.013343879,153.6",19.2",0) ||
+box(0.021369773,0.02934387,153.6",19.2",0) ||
+box(0.021374046,0.0346772,153.6",19.2",0) ||
+box(0.021378318,0.040010529,153.6",19.2",0) ||
+box(359.97865,-0.039955249,153.6",19.2",0) ||
+box(359.97865,-0.03462192,153.6",19.2",0) ||
+box(359.97866,-0.029288591,153.6",19.2",0) ||
+box(359.97867,-0.013288599,153.6",19.2",0) ||
+box(359.97867,-0.0079552683,153.6",19.2",0) ||
+box(359.97868,-0.0026219371,153.6",19.2",0) ||
+box(359.96003,0.021393001,19.2",153.6",0) ||
+box(359.96536,0.021388731,19.2",153.6",0) ||
+box(359.9707,0.021384459,19.2",153.6",0) ||
+box(359.98136,0.021375917,19.2",153.6",0) ||
+box(359.9867,0.021371645,19.2",153.6",0) ||
+box(359.99203,0.021367373,19.2",153.6",0) ||
+box(359.99736,0.021363101,19.2",153.6",0) ||
+box(0.0026625281,-0.021307822,19.2",153.6",0) ||
+box(0.0079958596,-0.021312094,19.2",153.6",0) ||
+box(0.013329191,-0.021316366,19.2",153.6",0) ||
+box(0.018662522,-0.021320637,19.2",153.6",0) ||
+box(0.029329184,-0.02132918,19.2",153.6",0) ||
+box(0.034662514,-0.021333451,19.2",153.6",0) ||
+box(0.039995843,-0.021337722,19.2",153.6",0)
diff --git a/ds9/template/xmm/epicmos1.tpl b/ds9/template/xmm/epicmos1.tpl
new file mode 100644
index 0000000..9c5c257
--- /dev/null
+++ b/ds9/template/xmm/epicmos1.tpl
@@ -0,0 +1,20 @@
+# Region file format: DS9 version 4.0
+# Filename: /home/joye/templates/xmm/epicmos/image_epicmos1.ds
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(-0.017,-0.014495,0) ||
+point(359.98122,-0.014772826) || # point=boxcircle
+# text(0.095331979,0.18528183) || text={5}
+# text(0.18353977,0.0004077268) || text={6}
+# text(359.99987,0.00040772889) || text={1}
+# text(359.90683,0.18649016) || text={4}
+# text(359.81379,0.0016160537) || text={3}
+# text(0.092915319,-0.18325807) || text={7}
+# text(359.90925,-0.18204976) || text={2}
+polygon(0.18524639,0.27414948,0.0045201849,0.27427278,0.0056046815,0.09358257,0.1845215,0.093406209) ||
+polygon(0.18400899,-0.094584329,0.0032641713,-0.093859609,0.0043500151,-0.27454963,0.18385383,-0.2741015) ||
+polygon(0.27711421,0.089482136,0.094538624,0.090759,0.093867077,-0.091797152,0.27761497,-0.091828859) ||
+polygon(0.092712157,0.091309595,359.91014,0.092586111,359.91122,-0.088106013,0.092552581,-0.088209985) ||
+polygon(0.0033282835,0.27363238,359.82076,0.27490768,359.82001,0.094768685,0.0031744198,0.094115539) ||
+polygon(359.90953,0.092568474,359.72696,0.093844064,359.72812,-0.089262169,359.90881,-0.088176995) ||
+polygon(0.0019846216,-0.091478854,359.81886,-0.092032372,359.8205,-0.27089198,0.0018258799,-0.27099729)
diff --git a/ds9/template/xmm/epicmos2.tpl b/ds9/template/xmm/epicmos2.tpl
new file mode 100644
index 0000000..9e2f307
--- /dev/null
+++ b/ds9/template/xmm/epicmos2.tpl
@@ -0,0 +1,20 @@
+# Region file format: DS9 version 4.0
+# Filename: /home/joye/templates/xmm/epicmos/image_epicmos2.ds
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(-.02,-.015099,0) ||
+point(359.98032,-0.015255945) || # point=boxcircle
+# text(0.002598154,-7.5391061e-05) || text={1}
+# text(0.19351408,-0.090699798) || text={2}
+# text(0.0013898207,-0.18132479) || text={3}
+# text(359.80806,-0.090699806) || text={4}
+# text(0.19351408,0.09175734) || text={7}
+# text(0.00018148737,0.18600729) || text={6}
+# text(359.80927,0.092965679) || text={5}
+polygon(0.092381631,0.092656826,359.91167,0.092172121,359.91162,-0.090971255,0.092913154,-0.089866031) ||
+polygon(0.091779215,-0.092315194,359.90928,-0.093457297,359.91102,-0.2759413,0.092316593,-0.27483652) ||
+polygon(359.90894,-8.3494418e-05,359.72643,-0.00062029737,359.72749,-0.18040463,359.90763,-0.18114781) ||
+polygon(359.90805,0.18424156,359.72735,0.1837549,359.7273,0.00061430326,359.90859,0.0017195055) ||
+polygon(0.091791652,0.27698791,359.91108,0.27650239,359.91103,0.09336198,0.092327659,0.094467032) ||
+polygon(0.27583152,0.18479008,0.095118571,0.18430591,0.095069778,0.001163703,0.27636646,0.0022696912) ||
+polygon(0.27552481,0.00013033963,0.094815474,-0.00035441732,0.094691734,-0.18108137,0.27625199,-0.17875761)
diff --git a/ds9/template/xmm/epicpn.tpl b/ds9/template/xmm/epicpn.tpl
new file mode 100644
index 0000000..417b07c
--- /dev/null
+++ b/ds9/template/xmm/epicpn.tpl
@@ -0,0 +1,31 @@
+# Region file format: DS9 version 4.0
+# Filename: /home/joye/templates/xmm/epicpn/image_epicpn.ds
+global color=green font="helvetica 10 normal" select=1 highlite=1 edit=1 move=1 delete=1 include=1 fixed=0 source
+wcs0;fk5
+# composite(-0.032,0.0166,0) ||
+point(359.9684,0.017688302) || # point=boxcircle
+polygon(0.0024077734,-0.00014830005,359.78785,-0.00041752552,359.78786,-0.072646412,0.0018211508,-0.072695941) ||
+# text(359.90368,-0.036006347) || text={1}
+polygon(0.0024077734,-0.00014830005,359.78785,-0.00041752552,359.78786,-0.072646412,0.0018211508,-0.072695941) ||
+# text(359.90247,-0.11213125) || text={2}
+polygon(0.0021963947,-0.075102588,359.78764,-0.075372326,359.78765,-0.14760027,0.0016077991,-0.14765228) ||
+# text(359.90368,-0.18704668) || text={3}
+polygon(0.0019729992,-0.14975594,359.78741,-0.15002511,359.78742,-0.2222521,0.0013929609,-0.22230368) ||
+# text(359.90247,0.041326975) || text={4}
+polygon(0.0026231785,0.074806934,359.78805,0.074537239,359.78807,0.0023093611,0.0020385428,0.0022583476) ||
+# text(359.90126,0.11382726) || text={5}
+polygon(0.0028373576,0.14976211,359.78827,0.14949189,359.78828,0.077263098,0.0022494778,0.077213572) ||
+# text(359.90247,0.18632595) || text={6}
+polygon(0.0030451022,0.22471722,359.78848,0.2244455,359.78849,0.15221877,0.0024592092,0.15216874) ||
+# text(0.11272235,0.040118972) || text={7}
+polygon(0.21961801,0.074544059,0.0050560461,0.074274386,0.0050631475,0.0020453621,0.21903517,0.0019959256) ||
+# text(0.11272285,0.11141062) || text={8}
+polygon(0.21982932,0.14949757,0.0052702679,0.14922958,0.0052781157,0.077000618,0.21924514,0.076949464) ||
+# text(0.11513727,0.18753426) || text={9}
+polygon(0.22003744,0.22445102,0.0054832423,0.22418372,0.0054866164,0.15195581,0.21945715,0.15190497) ||
+# text(0.1115122,-0.037214702) || text={10}
+polygon(0.21940876,-0.00041148409,0.0048458181,-0.00068086539,0.0048521831,-0.072908947,0.21882206,-0.07295968) ||
+# text(0.1127201,-0.11333958) || text={11}
+polygon(0.21919634,-0.075366094,0.0046291113,-0.075636181,0.0046399943,-0.14786432,0.21860577,-0.14791435) ||
+# text(0.11272043,-0.1870464) || text={12}
+polygon(0.21897336,-0.15001881,0.0044055854,-0.15028956,0.0044157238,-0.22251775,0.21838946,-0.22256606)