GithubHelp home page GithubHelp logo

adrn / one-datum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from one-datum/pipeline

0.0 2.0 0.0 3.01 MB

What can we infer about an orbit from the RV or astrometric jitter?

License: MIT License

Jupyter Notebook 92.48% Dockerfile 0.02% Shell 0.02% Python 0.44% TeX 7.03% Makefile 0.01%

one-datum's Introduction

one-datum

What can we infer about an orbit from the Gaia RV or astrometric jitter?

Usage

This project is meant to be run containerized (although it'll probably also work fine with a standard scientific Python installation). These instructions will use Singularity, but this should also all work using Docker.

To start, clone the project:

git clone https://github.com/dfm/one-datum.git
cd one-datum

Downloading the data

To download all the necessary data files (using wget), run

scripts/download /path/to/data

where /path/to/data is the local path where you want to store the data files.

Running the container

You can run the container using Singularity as follows (on a module system, you might need to module load singularity first):

alias singularity_exec="singularity exec --bind /path/to/data:/data docker://ghcr.io/dfm/one-datum:main"
singularity_exec python

where /path/to/data is the data path that you used above, and on the first line we're defining an alias that we'll continue using below. This isn't necessary, but it'll make the demos easier to parse. The above command should drop you into a Python instance with a correctly configured environment.

Exploratory analysis with Jupyterlab

This container comes with Jupyterlab installed and you can start a server in this environment with:

singularity_exec jupyter lab --ip='*'

Since I'm normally running this on a remote machine, I would generally add a specific port (--port=8898, for example) and then forward that port via SSH to my development machine.

Inferring per-transit RV uncertainty

This is done on a grid in BP-RP color and apparent G-magnitude. Use

singularity_exec scripts/infer-per-transit-uncert

to run with the default arguments or add the --help flag to see the available parameters. This will save a file rv_uncertainty_grid.fits in your data directory.

one-datum's People

Contributors

dfm avatar

Watchers

James Cloos avatar  avatar

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.