<?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"?>
<?xml-model href="https://pds.nasa.gov/pds4/mission/vikinglander/v1/PDS4_VIKINGLANDER_1L00_1000.sch"  schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Ancillary xmlns="http://pds.nasa.gov/pds4/pds/v1" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:vikinglander="http://pds.nasa.gov/pds4/mission/vikinglander/v1"
  xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1L00.xsd
  http://pds.nasa.gov/pds4/mission/vikinglander/v1 https://pds.nasa.gov/pds4/mission/vikinglander/v1/PDS4_VIKINGLANDER_1L00_1000.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:vl_image_raw:calib:photosen</logical_identifier>
    <version_id>1.0</version_id>
    <title>Viking Lander Calibration File: photosen</title>
    <information_model_version>1.21.0.0</information_model_version>
    <product_class>Product_Ancillary</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2024-05-13</modification_date>
        <version_id>1.0</version_id>
        <description>Initial version.</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Context_Area>
    <Time_Coordinates>
      <start_date_time>1976-07-20Z</start_date_time>
      <stop_date_time>1982-11-05Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>Viking</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.viking</lid_reference>
        <reference_type>ancillary_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>Viking Lander 1</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.vl1</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Camera 1 for VL1</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:cam1.vl1</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Camera 2 for VL1</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:cam2.vl1</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Observing_System>
      <Observing_System_Component>
        <name>Viking Lander 2</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.vl2</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Camera 1 for VL2</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:cam1.vl2</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Camera 2 for VL2</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:cam2.vl2</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
  </Context_Area>  
  <File_Area_Ancillary>
    <File>
      <file_name>photosen.tab</file_name>
      <creation_date_time>1997-07-01</creation_date_time>
    </File>
    <Table_Character>
      <offset unit="byte">0</offset>
      <records>44</records>
      <description>This table contains data
        for the photosensor characteristics needed for
        radiometric calibration of the Viking Lander cameras.
        Data for all four flight cameras are tabulated in this
        file. The data are taken from Huck et al., Radiometric
        Performance of the Viking Mars Lander Cameras, NASA TM
        X-72692, 1975.</description>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <Record_Character>
        <fields>11</fields>
        <groups>0</groups>
        <record_length unit="byte">72</record_length>
        <Field_Character>
          <name>lander_number</name>
          <field_number>1</field_number>
          <field_location unit="byte">1</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">2</field_length>
          <description>The Viking Lander number, either 1 or 2.</description>
        </Field_Character>
        <Field_Character>
          <name>camera_number</name>
          <field_number>2</field_number>
          <field_location unit="byte">4</field_location>
          <data_type>ASCII_Integer</data_type>
          <field_length unit="byte">2</field_length>
          <description>The camera number on one of the Viking Landers,
            either 1 or 2.</description>
        </Field_Character>
        <Field_Character>
          <name>diode_name</name>
          <field_number>3</field_number>
          <field_location unit="byte">8</field_location>
          <data_type>ASCII_String</data_type>
          <field_length unit="byte">6</field_length>
          <description>The commonly used name for a Viking Lander
            camera photodiode.</description>
        </Field_Character>
        <Field_Character>
          <name>calibration_factor</name>
          <field_number>4</field_number>
          <field_location unit="byte">16</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">5</field_length>
          <description>A factor to account for the
            differences between the camera model and calibration
            test hardware and the actual calibration test results.</description>
        </Field_Character>
        <Field_Character>
          <name>preamplifier_feedback_resistance</name>
          <field_number>5</field_number>
          <field_location unit="byte">22</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">7</field_length>
          <unit>MegaOhms</unit>
          <description>The resistance of the
            preamplifier feedback resistor for a given photodiode.</description>
        </Field_Character>
        <Field_Character>
          <name>channel_gain</name>
          <field_number>6</field_number>
          <field_location unit="byte">30</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">6</field_length>
          <description>The ratio of summing
            amplifier feedback resistance to the input resistance
            for a given photodiode (channel).</description>
        </Field_Character>
        <Field_Character>
          <name>aperture_radius</name>
          <field_number>7</field_number>
          <field_location unit="byte">37</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">6</field_length>
          <unit>micrometers</unit>
          <description>The radius for the aperture
            of a given photodiode.</description>
        </Field_Character>
        <Field_Character>
          <name>instantaneous_field_of_view</name>
          <field_number>8</field_number>
          <field_location unit="byte">44</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">9</field_length>
          <unit>degree</unit>
          <description>The angular size of the
            photodiode field of view.</description>
        </Field_Character>
        <Field_Character>
          <name>lens_diameter</name>
          <field_number>9</field_number>
          <field_location unit="byte">54</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">5</field_length>
          <unit>cm</unit>
          <description>The diameter of the lens in
            front of the photosensor array.</description>
        </Field_Character>
        <Field_Character>
          <name>lens_focal_length</name>
          <field_number>10</field_number>
          <field_location unit="byte">60</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">5</field_length>
          <unit>cm</unit>
          <description>The focal length of the
            lens in front of the photosensor array.</description>
        </Field_Character>
        <Field_Character>
          <name>in_focus_distance</name>
          <field_number>11</field_number>
          <field_location unit="byte">66</field_location>
          <data_type>ASCII_Real</data_type>
          <field_length unit="byte">5</field_length>
          <unit>meters</unit>
          <description>The distance from the
            camera that an object is in focus. This distance is a
            function of the focal length of the camera lens and the
            distance between the lens and a given photodiode.</description>
        </Field_Character>
      </Record_Character>
    </Table_Character>
  </File_Area_Ancillary>
  <File_Area_Ancillary>
    <File>
      <file_name>photosen.lbl</file_name>
    </File>
    <Stream_Text>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS3</parsing_standard_id>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Ancillary>
</Product_Ancillary>
