Git Product home page Git Product logo

cgosmeyer / pluto-crater-counting Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8.13 MB

Python scripts to aid user in selecting craters on Charon and Pluto, measure the craters' diameteters and locations, and create crater density plots in order estimate surface ages.

License: MIT License

Python 16.12% IDL 2.02% Jupyter Notebook 81.86%
pluto charon crater-density-plots craters event-handling planetary-science

pluto-crater-counting's Introduction

pluto-crater-counting

Python scripts to aid user in selecting craters on Charon and Pluto, measure the craters' diameteters and locations, and create crater density plots in order estimate surface ages.

Written as a project for a 2015 Johns Hopkins University course "Planetary Surface Processes," taught by Kevin Lewis.

Before running any scripts, change the 'path' variable at the top to the path containing this repo, containing 'data', 'outputs', and 'pluto-crater-counting' directories. You will also need create the 'outputs' directory.

  1. Transform full Pluto and Charon images to greyscale and place in 'data'.

  2. In main of select_craters.py, select the image of body, the id of the image region, and the name of the region to run the crater selector on. When run the script, will be given pop-up matplotlib windows on which you can select the center of a suspected crater and measure the radius. The values of the selected crater coordinates and radius will be saved in 'outputs', as well as the image of the region showing the selected craters.

  3. In main of make_crater_plots.py, select the plots/statistic function you wish to run. Crater density plots will appear in 'outputs'.

Can ignore mapflat_test.pro and mapflat.pro, failed attempts to project Pluto and Charon as flat maps, with pixels equating to equal physical areas.

Message me if you would like my crater count files!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.