

.. _sphx_glr_auto_examples_05-counting:

.. _gal-counting:

Counting
========

This section provides examples of how to use the :ref:`api-counting` component of Cratermaker to analye crater statistics from a Cratermaker simulation.


.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we will emplace a small simple crater on a HiResLocal surface, and then apply topographic diffusion to the surface in order to simulate diffusive degradation of the crater. We will then compare the applied diffusive degradation amount with the estimated degradation state of the crater using the DepthCount model, which uses depth-to-diameter as a proxy for degradation state. If the proxy is good, the values of degradation state computed by Cratermaker vs applied degradation should plot along a 1:1 line.">

.. only:: html

  .. image:: /auto_examples/05-counting/images/thumb/sphx_glr_5.2-degradation-state_thumb.png
    :alt:

  :doc:`/auto_examples/05-counting/5.2-degradation-state`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Compute the degradation state of a crater</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we will create a DataSurface centered on a region of the Moon that contains the Lansberg B crater. We will then supply a slightly wrong crater size and location, and use the Counting class to fit the crater rim to the DEM data.">

.. only:: html

  .. image:: /auto_examples/05-counting/images/thumb/sphx_glr_5.1-fit_rim_thumb.png
    :alt:

  :doc:`/auto_examples/05-counting/5.1-fit_rim`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Fit a crater rim given a DEM and approximate crater size and location</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/05-counting/5.2-degradation-state
   /auto_examples/05-counting/5.1-fit_rim

