<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE sddlschema SYSTEM "sddlschema.xsd">-->

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:  COS_FILT.SDDL -->
<!-- -->
<!--  Purpose:      This SDDL file defines the COS_FILT relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who                       Reason-->
<!--  - - - -    - - - -   - -   - - - - - - - - - - - - - - - - - - - - - -->
<!--  04/04/97   33685     Schultz   Original implementation -->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> 
<lm>  07/21/08   56981     Mary  Copied from stis_file.xml</lm>
<lm>  08/08/08   56981     Mary  Split the aperture column into two</lm><!-- last mod -->
<lm>  04/23/10   64779     Mary  filter size 7 for MIRRORA and MIRRORB</lm><!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

    <record name="COS_FILT_TYPE"> 

        <description>"This relation is used to define the values OPUS needs to
                   populate Archive Search Keywords for observations using
                   imaging apertures when obstype=IMAGING.  There must be a
                   record in this table for every COS imaging filtered
                   aperture."</description>

           <field name="aperture">
                    <type>C3</type>
                    <description>"Aperture names are PSA and BOA."</description>
           </field>

           <field name="filter">
                    <type>C7</type>
                    <description>"Aperture names are TA1(or MIRRORA) and TA1BRT(or MIRRORB) ."</description>
            </field>
	
            <field name="pivot_wave">
                    <type>R4</type>
                    <description>"The pivot wavelength of the bandpass. (Angstrom)"</description>
            </field>
	
            <field name="band_width">
                    <type>R4</type>
                    <description>"Bandpass RMS width of imaging aperture (Angstrom)"</description>

            </field>

            <field name="min_wave">
                    <type>R4</type>
                    <description>"Minimum wavelength in bandpass. (Angstrom)"</description>

            </field>
 
            <field name="max_wave">
                    <type>R4</type>
                    <description>"Maximum wavelength in bandpass. (Angstrom)"</description>

            </field>
 
    </record>
 
  
 
    <relation name="cos_filt">
 
        <type>COS_FILT_TYPE</type>

        <description>COS Imaging Relation</description>

        <subsystem_using>OPUS</subsystem_using>

        <index name="cos_filt_1">
            <type>unique clustered</type>
            <field name="aperture"/>
            <field name="filter"/>
        </index>

    </relation>
  
 
    <instance  name="cos_filt" scope="global" type="COS_FILT_TYPE" />
 
</sddl>
