Giter Club home page Giter Club logo

migration_rates's Introduction

migration_rates

Python module for the (semi)analytical estimate of migration rates of close-in planets via Lidov-Kozai oscillations

To add to Python modules, simply include

import migration_rates as mr

in your script. You might need to install other Python packages for this to work.

To create a migration fraction plot (close-in fraction+ disruption fraction), you can run

$] python migration_rates_examples.py $mp $chi $rocky

where $mp is the mass of the planet (in Jupiter masses), chi is the dimensionless time lag, and rocky=0 if the planet is a gas giant and 1 if it is a rocky planets

For examples,

$] python migration_rates_examples.py 1 10 0

creates the figure: migration_fraction_integrated_mplanet1_chi10.pdf

You can reproduce all the figures in Munoz, Lai & Liu (2016) by running

$] python make_figures_for_munozetal.py

which may make use of data in the data/ directory

Some figures will be created using pre-computed migration fractions, but some less detailed version of these figures will be computed from scratch. Using the option PARALLEL or parallel in the scripts will speed up the Monte-Carlo integration of the migration fractions. For that, you need to have the module joblib installed.

Figures created by make_figures_for_munozetal.py are

figure1.pdf figure2.pdf figure3.pdf figure4a_light.pdf figure4a.pdf figure4b_light.pdf figure4b.pdf figure4c_light.pdf figure4c.pdf figure5_light.pdf figure5.pdf

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.