<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1J00.sch"
  schematypens="http://purl.oclc.org/dsdl/schematron"?>
<Product_Observational xmlns="http://pds.nasa.gov/pds4/pds/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1    https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1J00.xsd">

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:msl_chemcam_derived:calib:regression</logical_identifier>
    <version_id>1.0</version_id>
    <title>Regression laws used to calculate ICA compositions.</title>
    <information_model_version>1.19.0.0</information_model_version>
    <product_class>Product_Observational</product_class>
    <Modification_History>
      <Modification_Detail>
         <modification_date>2024-04-30</modification_date>
         <version_id>1.0</version_id>
         <description>Initial PDS4 version</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Observation_Area>
    <Time_Coordinates>
      <start_date_time xsi:nil="true" nilReason="inapplicable"/>
      <stop_date_time xsi:nil="true" nilReason="inapplicable"/>
    </Time_Coordinates>
    <Primary_Result_Summary>
      <purpose>Calibration</purpose>
      <processing_level>Calibrated</processing_level>
    </Primary_Result_Summary>
    <Investigation_Area>
      <name>Mars Science Laboratory</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.mars_science_laboratory</lid_reference>
        <reference_type>data_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>Mars Science Laboratory</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.msl</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>CHEMISTRY CAMERA LASER INDUCED BREAKDOWN SPECTROMETER</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:chemcam_libs.msl</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Mars</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
        <reference_type>data_to_target</reference_type>
      </Internal_Reference>
    </Target_Identification>
  </Observation_Area>
  <File_Area_Observational>
    <File>
      <file_name>regression.csv</file_name>
      <creation_date_time>2016-02-16T05:52:39.000</creation_date_time>
    </File>

    <Header>
      <offset unit="byte">0</offset>
      <object_length unit="byte">34</object_length>
      <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
      <description>Column headings.</description>
    </Header>

    <Table_Delimited>
      <local_identifier>TABLE</local_identifier>
      <offset unit="byte">34</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>This spreadsheet contains the coefficients of the regression laws used to calculate ICA composition. Four types of regression calculations were used, as described below, where a(0) through a(3) are the coefficients and x is the score(dot product between the spectrum and the component.</description>
      <records>8</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>6</fields>
        <groups>0</groups>
        <Field_Delimited>
          <name>OXIDE</name>
          <field_number>1</field_number>
          <data_type>ASCII_String</data_type>
          <maximum_field_length unit="byte">8</maximum_field_length>
          <description>Name of oxide</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>REGRESSION_TYPE</name>
          <field_number>2</field_number>
          <data_type>ASCII_String</data_type>
          <maximum_field_length unit="byte">15</maximum_field_length>
          <description>Law of regression calculation used
                       (logcubic, geometric, exponential, 
                       or parabolic).</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>A0</name>
          <field_number>3</field_number>
          <data_type>ASCII_Real</data_type>
          <maximum_field_length unit="byte">15</maximum_field_length>
          <description>Value of a(0) depending on oxide</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>A1</name>
          <field_number>4</field_number>
          <data_type>ASCII_Real</data_type>
          <maximum_field_length unit="byte">15</maximum_field_length>
          <description>Value of a(1) depending on oxide</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>A2</name>
          <field_number>5</field_number>
          <data_type>ASCII_Real</data_type>
          <maximum_field_length unit="byte">15</maximum_field_length>
          <description>Value of a(2) depending on oxide</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>A3</name>
          <field_number>6</field_number>
          <data_type>ASCII_Real</data_type>
          <maximum_field_length unit="byte">15</maximum_field_length>
          <description>Value of a(3) depending on oxide</description>
        </Field_Delimited>
       </Record_Delimited>
    </Table_Delimited>
  </File_Area_Observational>
  <File_Area_Observational_Supplemental>
    <File>
      <file_name>regression.lbl</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <description>Original PDS3 label</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Observational_Supplemental>
</Product_Observational>
