<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE DetectorSchema SYSTEM "Detector.dtd" [
<!ENTITY % lrisredentities SYSTEM "LrisRedEntities.dtd">
<!-- this file is actually xml, not dtd --><!-- external (parsed) general entity declarations get xml elements --><!ENTITY ccdgeomlist SYSTEM "CCDgeomList.xml">
<!ENTITY ccdtypelist SYSTEM "CCDtypeList.xml">
<!ENTITY lbnl2kx4kamptypes SYSTEM "lbnl2kx4kampTypes.xml">
<!ENTITY ccdlist SYSTEM "CCDlist.xml">
<!ENTITY lrisredccdlocs SYSTEM "LrisRedCCDlocs.xml">
<!ENTITY lrisredamplocs SYSTEM "LrisRedAmpLocs.xml">
<!ENTITY lrisredampwire SYSTEM "LrisRedAmpWire.xml">
<!ENTITY lrisredmosaicdesign SYSTEM "LrisRedMosDesigns.xml">
<!ENTITY amp2ccdwcs SYSTEM "Amp2CCD.xml">
<!ENTITY ccd2panewcs SYSTEM "CCD2pane.xml">
<!ENTITY ccd2ndetwcs SYSTEM "CCD2ndet.xml">
<!ENTITY ccd2gapwcs SYSTEM "CCD2gap.xml">
<!ENTITY CD2ident SYSTEM "CD2ident.xml">
<!ENTITY CD2flipX SYSTEM "CD2flipX.xml">
<!ENTITY CD2flipY SYSTEM "CD2flipY.xml">
<!ENTITY CD2flipXY SYSTEM "CD2flipXY.xml">
<!--
begin internal general entity declaration lrisredgenent
can be used to refer to the following
--><!ENTITY lrisredgenent "
  <!--
  general entity reference
  inserts list of all designed geometries of CCDs
  -->
  &ccdgeomlist;

  <!--
  general entity reference
  inserts list of all types of CCDs
  -->
  &ccdtypelist;

  <!--
  general entity reference
  inserts list of all types of amplifiers on CCDs
  -->
  &lbnl2kx4kamptypes;



  <!--
  general entity reference
  inserts list of all CCDs inserted into mosaics
  -->
  &ccdlist;

  <!--
  general entity reference
  inserts list of all mosaic designs
  -->
  &lrisredmosaicdesign;

  <!--
  general entity reference
  inserts list of all mosaic wirings
  -->
  &lrisredampwire;
">
<!--
end internal general entity declaration lrisredgenent
--><!--
begin external (parsed) general entity declaration lrisredengmos lrisredscimos
can be used to refer to content of LrisRedEngMos.xml LrisRedSciMos.xml
--><!ENTITY lrisredengmos SYSTEM "LrisRedEngMos.xml">
<!ENTITY lrisredscimos SYSTEM "LrisRedSciMos.xml">
<!--
end external general entity declaration lrisredengmos lrisredscimos
--><!-- this file is actually xml, not dtd -->]>
<DetectorSchema>


  <!--
  general entity reference
  inserts list of all designed geometries of CCDs
  -->
  

<!--
A listing of all the different geometries of CCD designs that are
used as part of detector mosaics.
-->

<CCDgeom Id="mitll_geom" Name="MIT/LL 2k*4k" NumImgPix1="2048" NumImgPix2="4096" SizImgPix1="15 um" SizImgPix2="15 um"/>
<CCDgeom Id="fcs_geom" Name="UCO/Lick FCS" NumImgPix1="1200" NumImgPix2="600" SizImgPix1="15 um" SizImgPix2="15 um"/>
<CCDgeom Id="e2v4482_geom" Name="e2v (Marconi) CCD44-82" NumImgPix1="2048" NumImgPix2="4102" SizImgPix1="15 um" SizImgPix2="15 um"/>
<CCDgeom Id="lbnl2kx4k_geom" Name="LBNL Thick High-Resistivity" NumImgPix1="2048" NumImgPix2="4096" SizImgPix1="15 um" SizImgPix2="15 um"/>


  <!--
  general entity reference
  inserts list of all types of CCDs
  -->
  

<!--
A listing of all the different types of CCDs that are
used as part of detector mosaics.
-->

<CCDtype Id="unspecCCD" Name="Unspecified"/>
<CCDtype Id="hirhoCCD" Name="High Resistivity"/>
<CCDtype Id="thickHiRhoCCD" Name="Thick High Resistivity"/>


  <!--
  general entity reference
  inserts list of all types of amplifiers on CCDs
  -->
  

<!--
A listing of all the different types of amplifiers that are
on LBNL 2k*4k Thick Hi-Rho CCDs.
-->

<!--
These are the amplifiers on the LBNL 2k*4k Thick High-Rho CCDs.
They claim to have 50 prescan columns.
-->
<AmpType Id="LBNL2k*4k_amp_L" Name="L" NumPrePix1="12" NumPrePix2="0" CCDgeomId="LBNL2k*4k"/>
<wcs version="c" Owner="LBNL2k*4k_amp_L">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="1"/>
	<CRVALi i="2" value="1"/>
	<!--
A general entity which contains the elements of an identity WCS
-->
	<CDi_j i="1" j="1" value="   1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all amp2ccd WCSs.
-->
	<WCSNAME value="amp2ccd" comment="imaging pixels thru this CCD"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1"/>
	<CRDERi i="2"/>
	<CSYERi i="1"/>
	<CSYERi i="2"/>
	<CTYPEi i="1" value="CCD_X"/>
	<CTYPEi i="2" value="CCC_Y"/>

</wcs>

<AmpType Id="LBNL2k*4k82_amp_R" Name="R" NumPrePix1="12" NumPrePix2="0" CCDgeomId="LBNL2k*4k"/>
<wcs version="c" Owner="LBNL2k*4k_amp_R">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="2048"/>
	<CRVALi i="2" value="1"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all amp2ccd WCSs.
-->
	<WCSNAME value="amp2ccd" comment="imaging pixels thru this CCD"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1"/>
	<CRDERi i="2"/>
	<CSYERi i="1"/>
	<CSYERi i="2"/>
	<CTYPEi i="1" value="CCD_X"/>
	<CTYPEi i="2" value="CCC_Y"/>

</wcs>




  <!--
  general entity reference
  inserts list of all CCDs inserted into mosaics
  -->
  

<!--
A gathering of all the different chunks of silicon (CCDs)
used as part of detector mosaics.
-->

<!--
These two are FCS CCDs which were used in the DEIMOS Blue
Science Mosaic.  This was the mosaic in use for the integrated
testing of DEIMOS while it was being assembled in the Lick
shops during 2000 to 2002.
The plan as of early 2002 is that these will be removed from
the blue mosaic and incorporated into the DEIMOS Red Science
Mosaic when it is assembled.
-->
<CCD Id="fcs_ccd_1" Name="1" CCDgeomId="fcs_geom" CCDtypeId="unspecCCD"/>
<CCD Id="fcs_ccd_13" Name="13" CCDgeomId="fcs_geom" CCDtypeId="unspecCCD"/>

<!--
These are MIT/LL 2k*4k CCDs which are intended to go into the
DEIMOS Red Science Mosaic when it is assembled.
-->
<CCD Id="mitll_14_2_6" Name="14-2-6" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_12_3" Name="14-12-3" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_10_6" Name="14-10-6" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_10_5" Name="14-10-5" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_4_1" Name="14-4-1" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_4_3" Name="14-4-3" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_4_2" Name="14-4-2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_14_5_2" Name="14-5-2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>

<!--
There were no FCS CCDs in the DEIMOS engineering mosaic.
This was the mosaic in use in the CCD lab before the
integrated testing of DEIMOS while it was being assembled in
the Lick shops during 2000 to 2002.

These are MIT/LL 2k*4k CCDs which were inserted into the
DEIMOS Engineering Science Mosaic for the in-house testing.
-->
<CCD Id="mitll_10_2_5" Name="10-2-5" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_9_6_5" Name="9-6-5" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_9_6_4" Name="9-6-4" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_w83c1" Name="W83C1" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_10_2_6" Name="10-2-6" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_10_1_2" Name="10-1-2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_9_1_6" Name="9-1-6" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_w83c2" Name="W83C2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>

<!--
These are MIT/LL 2k*4k CCDs which were inserted into the
DEIMOS Blue Science Mosaic used in the Lick labs during
instrument integration during 2000 thru 2002
-->
<CCD Id="mitll_w6c2" Name="W6C2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_9_1_3" Name="9-1-3" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_10_3_5" Name="10-3-5" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_w18c2" Name="W18C2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_10_10_4" Name="10-10-4" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_w85c2" Name="W85C2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_w97c2" Name="W97C2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>
<CCD Id="mitll_10_14_2" Name="10-14-2" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>

<!--
These are MIT/LL 2k*4k CCDs which were inserted into the
HIRES Engineering Mosaic used in the Lick labs during
instrument integration during mid 2003
-->
<CCD Id="mitll_14_1_1" Name="LL-14-1-1" CCDgeomId="mitll_geom" CCDtypeId="hirhoCCD"/>
<!--
HIRES Engineering CCD is 10-10-4 which was in the
DEIMOS blue above
-->
<CCD Id="mitll_14_1_6" Name="LL-14-1-6" CCDgeomId="mitll_geom" CCDtypeId="hirhoCCD"/>

<!--
These are MIT/LL 2k*4k CCDs which were inserted into the
HIRES Science Mosaic used in the Lick labs during
instrument integration during late 2003
-->
<CCD Id="mitll_17_7_1" Name="17-7-1" CCDgeomId="mitll_geom" CCDtypeId="hirhoCCD"/>
<CCD Id="mitll_17_7_6" Name="17-7-6" CCDgeomId="mitll_geom" CCDtypeId="hirhoCCD"/>
<CCD Id="mitll_2_2_1" Name="2-2-1" CCDgeomId="mitll_geom" CCDtypeId="unspecCCD"/>

<!--
These are e2v CCD44-82 2k*4k CCDs which are in LRIS Blue NBC
-->
<CCD Id="e2v4482_1" Name="00151-14-1" CCDgeomId="e2v4482_geom" CCDtypeId="unspecCCD"/>
<CCD Id="e2v4482_2" Name="00152-19-1" CCDgeomId="e2v4482_geom" CCDtypeId="unspecCCD"/>

<!--
These are LBNL 2k*4k thick high resistivity CCDs
The engineering test devices initially in LRIS-R red mosaic
-->
<CCD Id="lbnl2kx4k_2_12" Name="2-12" CCDgeomId="lbnl2kx4k_geom" CCDtypeId="thickHiRhoCCD"/>
<CCD Id="lbnl2kx4k_2_9" Name="2-9" CCDgeomId="lbnl2kx4k_geom" CCDtypeId="thickHiRhoCCD"/>

<!--
These are LBNL 2k*4k thick high resistivity CCDs
The science grade devices delivered in LRIS-R red mosaic
-->
<CCD Id="lbnl2kx4k_1_12" Name="1-12" CCDgeomId="lbnl2kx4k_geom" CCDtypeId="thickHiRhoCCD"/>
<CCD Id="lbnl2kx4k_1_13" Name="1-13" CCDgeomId="lbnl2kx4k_geom" CCDtypeId="thickHiRhoCCD"/>


  <!--
  general entity reference
  inserts list of all mosaic designs
  -->
  

<!--
The designed attributes of the LRIS-R red mosaic detector layout.
-->
<MosaicDesign Id="lris_red_mosaic_design" Name="LRIS-R red Mosaic" NumCCD="2" NumAmp="4"/>



<!--
A gathering of all the different CCD locations
in the design of the LRIS Red mosaic.
-->

<!--
This should describe the nomenclature of the CCDs
in the LRIS Red mosaic design along with their layout.
The manner in which the layout is specified is by giving
PANE coordinates to every CCD.
-->
<CCDloc Id="lris_red_ccdloc_1" Name="1" CCDgeomId="lbnl2kx4k_geom" MosaicDesignId="lris_red_mosaic_design"/>
<wcs version="p" Owner="lris_red_ccdloc_1">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="   0.5"/>
	<CRVALi i="2" value="   0.5"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all ccd2pane WCSs.
-->
	<WCSNAME value="ccd2pane" comment="UCO/Lick mosaic PANE coordinates"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1"/>
	<CRDERi i="2"/>
	<CSYERi i="1"/>
	<CSYERi i="2"/>
	<CTYPEi i="1" value="PANE_X"/>
	<CTYPEi i="2" value="PANE_Y"/>

</wcs>

<CCDloc Id="lris_red_ccdloc_2" Name="2" CCDgeomId="lbnl2kx4k_geom" MosaicDesignId="lris_red_mosaic_design"/>
<wcs version="p" Owner="lris_red_ccdloc_2">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="2048.5"/>
	<CRVALi i="2" value="   0.5"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all ccd2pane WCSs.
-->
	<WCSNAME value="ccd2pane" comment="UCO/Lick mosaic PANE coordinates"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1"/>
	<CRDERi i="2"/>
	<CSYERi i="1"/>
	<CSYERi i="2"/>
	<CTYPEi i="1" value="PANE_X"/>
	<CTYPEi i="2" value="PANE_Y"/>

</wcs>




<!--
A gathering of all the different amplifier locations
in the design of the LRIS-R red mosaic mosaic.
-->

<!--
This should describe the nomenclature of the amplifiers
in the LRIS-R red mosaic design.
-->
<AmpLoc Id="lrisred_amploc_1" Name="1" AmpTypeId="lbnl2kx4k_amp_L" CCDlocId="lrisred_ccdloc_1"/>
<AmpLoc Id="lrisred_amploc_2" Name="2" AmpTypeId="lbnl2kx4k_amp_R" CCDlocId="lrisred_ccdloc_1"/>
<AmpLoc Id="lrisred_amploc_3" Name="3" AmpTypeId="lbnl2kx4k_amp_L" CCDlocId="lrisred_ccdloc_2"/>
<AmpLoc Id="lrisred_amploc_4" Name="4" AmpTypeId="lbnl2kx4k_amp_R" CCDlocId="lrisred_ccdloc_2"/>



  <!--
  general entity reference
  inserts list of all mosaic wirings
  -->
  

<!--
A listing of the amplifier wiring connections which have been in use
for LRIS-R red CCD Mosaic exposures.
-->
<AmpWiring Id="lrisred_wiring" Name="LRIS-R red Wiring, 4-amplifier"/>

<AmpWire VideoInputEnum="2" AmpLocId="lrisred_amploc_1_2" AmpWiringId="lrisred_wiring"/>
<AmpWire VideoInputEnum="1" AmpLocId="lrisred_amploc_2_1" AmpWiringId="lrisred_wiring"/>
<AmpWire VideoInputEnum="4" AmpLocId="lrisred_amploc_3_4" AmpWiringId="lrisred_wiring"/>
<AmpWire VideoInputEnum="3" AmpLocId="lrisred_amploc_4_3" AmpWiringId="lrisred_wiring"/>





<!--
The as-built attributes of LRIS Red Engineering Mosaic.

The positions of the CCDs for the Engineering Mosaic 1 have not yet
been measured.  For the moment we are using the specified separations in
the Cabak design drawings.

-->

<BuiltMosaic Id="lris_red_eng_mosaic" Name="LRIS Red Engineering Mosaic" MosaicDesignId="lris_red_mosaic_design" NumCCD="2" NumAmp="4"/>

<!--
Within each CCDpos we will place the ccd2ndet and
ccd2whatever WCSs.

The WCSs herein describe the LRIS Red mosaic as given by
Steve Allen on his drawing
-->
<CCDpos Id="lris_red_eng_pos_1" CCDlocId="lris_red_ccdloc_1" CCDid="lbnl2kx4k_2_12" BuiltMosaicId="lris_red_eng_mosaic"/>
<wcs version="n" Owner="lris_red_eng_pos_1">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="1"/>
	<CRVALi i="2" value="1"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all ccd2ndet WCSs.
-->
	<WCSNAME value="ccd2ndet" comment="NOAO-style detector coordinates"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1" value="1."/>
	<CRDERi i="2" value="1."/>
	<CSYERi i="1" value="1."/>
	<CSYERi i="2" value="1."/>
	<CTYPEi i="1" value="DETECTOR_X"/>
	<CTYPEi i="2" value="DETECTOR_Y"/>

</wcs>

<CCDpos Id="lris_red_eng_pos_2" CCDlocId="lris_red_ccdloc_2" CCDid="lbnl2kx4k_2_9" BuiltMosaicId="lris_red_eng_mosaic"/>
<wcs version="n" Owner="lris_red_eng_pos_2">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="2049"/>
	<CRVALi i="2" value="1"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all ccd2ndet WCSs.
-->
	<WCSNAME value="ccd2ndet" comment="NOAO-style detector coordinates"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1" value="1."/>
	<CRDERi i="2" value="1."/>
	<CSYERi i="1" value="1."/>
	<CSYERi i="2" value="1."/>
	<CTYPEi i="1" value="DETECTOR_X"/>
	<CTYPEi i="2" value="DETECTOR_Y"/>

</wcs>



<!--
The as-built attributes of LRIS Red Science Mosaic.

The positions of the CCDs for the Engineering Mosaic 1 have not yet
been measured.  For the moment we are using the specified separations in
the Cabak design drawings.

-->

<BuiltMosaic Id="lris_red_sci_mosaic" Name="LRIS Red Science Mosaic" MosaicDesignId="lris_red_mosaic_design" NumCCD="2" NumAmp="4"/>

<!--
Within each CCDpos we will place the ccd2ndet and
ccd2whatever WCSs.

The WCSs herein describe the LRIS Red mosaic as given by
Steve Allen on his drawing
-->
<CCDpos Id="lris_red_sci_pos_1" CCDlocId="lris_red_ccdloc_1" CCDid="lbnl2kx4k_1_12" BuiltMosaicId="lris_red_sci_mosaic"/>
<wcs version="n" Owner="lris_red_sci_pos_1">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="1"/>
	<CRVALi i="2" value="1"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all ccd2ndet WCSs.
-->
	<WCSNAME value="ccd2ndet" comment="NOAO-style detector coordinates"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1" value="1."/>
	<CRDERi i="2" value="1."/>
	<CSYERi i="1" value="1."/>
	<CSYERi i="2" value="1."/>
	<CTYPEi i="1" value="DETECTOR_X"/>
	<CTYPEi i="2" value="DETECTOR_Y"/>

</wcs>

<CCDpos Id="lris_red_sci_pos_2" CCDlocId="lris_red_ccdloc_2" CCDid="lbnl2kx4k_1_13" BuiltMosaicId="lris_red_sci_mosaic"/>
<wcs version="n" Owner="lris_red_sci_pos_2">
	<CRPIXj j="1" value="1"/>
	<CRPIXj j="2" value="1"/>
	<CRVALi i="1" value="2049"/>
	<CRVALi i="2" value="1"/>
	

	<CDi_j i="1" j="1" value="  -1."/>
	<CDi_j i="1" j="2" value="   0."/>
	<CDi_j i="2" j="1" value="   0."/>
	<CDi_j i="2" j="2" value="   1."/>


	<!--
A general entity which contains the elements that
are identical for all ccd2ndet WCSs.
-->
	<WCSNAME value="ccd2ndet" comment="NOAO-style detector coordinates"/>
	<CUNITi i="1" value="pixel"/>
	<CUNITi i="2" value="pixel"/>
	<CRDERi i="1" value="1."/>
	<CRDERi i="2" value="1."/>
	<CSYERi i="1" value="1."/>
	<CSYERi i="2" value="1."/>
	<CTYPEi i="1" value="DETECTOR_X"/>
	<CTYPEi i="2" value="DETECTOR_Y"/>

</wcs>



<!--
########################################################################
-->

<!-- LRIS-R red Engineering Mosaic -->

<Controller Name="LRIS-R red engineering mosaic" Macro="LRIS_R_RED_ENGINEERING_MOSAIC or somesuch" MacroValue="unique integer value #defined in the code" BuiltMosaicId="lris_red_eng_mosaic" AmpWiringId="lris_red_wiring" NumAmp="4"/>

<!--
########################################################################
-->

<!-- LRIS-R red Science Mosaic -->

<Controller Name="LRIS-R red science mosaic" Macro="LRIS_R_RED_SCIENCE_MOSAIC or somesuch" MacroValue="unique integer value #defined in the code" BuiltMosaicId="lris_red_sci_mosaic" AmpWiringId="lris_red_wiring" NumAmp="4"/>

<!--
########################################################################
-->

</DetectorSchema>
