<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1L00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Ancillary
  xmlns="http://pds.nasa.gov/pds4/pds/v1"
  xmlns:pds="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_1L00.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:kplo-shadowcam:calibration:dark_subtract_slope</logical_identifier>
    <version_id>1.0</version_id>
    <title>Dark Subtraction Slope Coefficients</title>
    <information_model_version>1.21.0.0</information_model_version>
    <product_class>Product_Ancillary</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2024-02-24</modification_date>
        <version_id>1.0</version_id>
        <description>
          Initial PDS4 label
        </description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Context_Area>
    <Investigation_Area>
      <name>KOREA PATHFINDER LUNAR ORBITER</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:kari:kpds:context:investigation:mission.kplo</lid_reference>
        <reference_type>ancillary_to_investigation</reference_type>
        <comment>This is the PDS4 logical identifier for KPLO</comment>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>Korea Pathfinder Lunar Orbiter (Danuri)</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:kari:kpds:context:instrument_host:spacecraft.kplo</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>SHADOWCAM</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:kari:kpds:context:instrument:kplo.shc</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
  </Context_Area>
  <Reference_List>
    <External_Reference>
      <doi>10.5140/JASS.2023.40.4.149</doi>
      <reference_text>
	Mark Southwick Robinson, Scott Michael Brylow, Michael Alan Caplinger,
	Lynn Marie Carter, Mattew John Clark, Brett Wilcox Denevi,
	Nicholas Michael Estes, David Carl Humm, Prasun Mahanti,
	Douglas Arden Peckham, Michael Andrew Ravine, Jacob Andrieu Schaffner,
	Emerson Jacob Speyerer, Robert Vernon Wagner
      </reference_text>
      <description>ShadowCam Instrument and Investigation Overview</description>
    </External_Reference>
    <External_Reference>
      <doi>10.5140/JASS.2023.40.4.173</doi>
      <reference_text>
	David Carl Humm, Mallory Janet Kinczyk, Scott Michael Brylow,
	Robert Vernon Wagner, Emerson Jacob Speyerer, Nicholas Michael Estes,
	Prasun Mahanti, Aaron Kyle Boyd, Mark Southwick Robinson
      </reference_text>
      <description>Calibration of ShadowCam</description>
    </External_Reference>
  </Reference_List>
  <File_Area_Ancillary>
    <File>
      <file_name>dark_subtract_slope.csv</file_name>
      <file_size unit="byte">331692</file_size>
      <md5_checksum>dc041a23c77cfc9d93e0d684c0484344</md5_checksum>
      <comment>
        This is a CSV with the dark subtraction slope coefficients -30 to +35.
      </comment>
    </File>
    <Header>
      <offset unit="byte">0</offset>
      <object_length unit="byte">72</object_length>
      <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
      <description>CSV header row.</description>
    </Header>
    <Table_Delimited>
      <name>Slope Coefficients</name>
      <offset unit="byte">73</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <records>3072</records>
      <record_delimiter>Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>6</fields>
        <groups>0</groups>
        <Field_Delimited>
          <name>tdia_coeff_a</name>
          <field_number>1</field_number>
          <data_type>ASCII_Real</data_type>
          <description>
            TDI A coefficient A
          </description>
        </Field_Delimited>
        <Field_Delimited>
          <name>tdia_coeff_b</name>
          <field_number>2</field_number>
          <data_type>ASCII_Real</data_type>
          <description>
            TDI A coefficient B
          </description>
        </Field_Delimited>
        <Field_Delimited>
          <name>tdia_RMSE</name>
          <field_number>3</field_number>
          <data_type>ASCII_Real</data_type>
          <description>
            TDI A RMSE
          </description>
        </Field_Delimited>
        <Field_Delimited>
          <name>tdib_coeff_a</name>
          <field_number>4</field_number>
          <data_type>ASCII_Real</data_type>
          <description>
            TDI B coefficent A
          </description>
        </Field_Delimited>
        <Field_Delimited>
          <name>tdib_coeff_b</name>
          <field_number>5</field_number>
          <data_type>ASCII_Real</data_type>
          <description>
            TDI B coefficient B
          </description>
        </Field_Delimited>
        <Field_Delimited>
          <name>tdib_RMSE</name>
          <field_number>6</field_number>
          <data_type>ASCII_Real</data_type>
          <description>
            TDI B RMSE
          </description>
        </Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
  </File_Area_Ancillary>
</Product_Ancillary>
