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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    CONV_POLYNOMIAL.SDDL-->
<!-- -->
<!--  Purpose:      This SDDL file defines the CONV_POLYNOMIAL relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       OPR      Who                       Reason-->
<!--  - - - -    - - - -    - -   - - - - - - - - - - - - - - - - - - - - - -->
<!--  06/28/96    29389     Rose  Original implementation-->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="CONV_POLYNOMIAL">

        <description>This relation specifies the POLYNOMIAL conversions which
		are to be applied to certain telemetry mnemonics.

		In the past PODPS used a wide relation: one which had a
		single tuple for each mnemonic, and 8 coefficients for
		each mnemonic.  While this was not such an awkward design
		as the discrete and linear conversion relations, we decided
		to follow through with the design change.

		The current design allows a mnemonic to have any number of
		tuples, each one of which specifies a particular ordered
		coeffiecient.

		The conversion of the mnemonic value (x) is:
			y = c0 + c1*x + c2*x^2 + ... + cn*x^n		   

</description>

            <field name="mnemonic">
                    <type>C8</type>
                    <description>The name of the telemetry mnemonic</description>
            </field>

            <field name="c_order">
                    <type>I4</type>
                    <description>The order of the coefficient (start at 1)</description>
            </field>

            <field name="coeff">
                    <type>R4</type>
                    <description>The corresponding coefficient value</description>
            </field>


    </record>



    <relation name="conv_polynomial">

        <type>CONV_POLYNOMIAL</type>

        <description>polynomial conversion coefficients</description>

        <subsystem_using>OPUS</subsystem_using>

        <index name="conv_polynomial_1">
            <type>unique clustered</type>
            <field name="mnemonic"/>
            <field name="c_order"/>
        </index>

    </relation>


    <instance  name="conv_polynomial" scope="global" type="CONV_POLYNOMIAL" />


</sddl>
