diff --git a/README.md b/README.md index 033b391..a3fca71 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,17 @@ +[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/license/mit) ![Python](https://img.shields.io/badge/python-3.9.16-blue.svg) ![Repo Size](https://img.shields.io/github/repo-size/edwarddramirez/allsky-point-source-detection) + # dmbinaries This repository contains the code used to produce the results shown in [arXiv:2209.08100](https://arxiv.org/abs/2209.08100). It is meant to act as a supplement focusing more on the actual structure of the code. Through our tutorial notebooks, we hope to help others in either better understanding our results or perform their own set of simulations for various purposes such as: setting their own constraints on subhalos, simulate binary evolution for some other purpose, or improve this code to set more robust limits. Please read the *README.md* file within each file for content information. We strongly encourage readers to read the paper before working with the code. +# Installation +Run the `environment.yml` file by running the following command on the main repo directory: +``` +conda env create +``` +The installation works for `conda==22.9.0`. + ## Directory Structure ### 1. Data - Directory: data diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..bad3d0e --- /dev/null +++ b/environment.yml @@ -0,0 +1,14 @@ +name: dmb +channels: + - conda-forge + - defaults +dependencies: + - ipykernel=6.20.2 + - ipython_genutils=0.2.0 + - jupyter=1.0.0 + - jupyter_client=6.1.12 + - matplotlib-inline=0.1.2 + - pip=21.2.4 + - python=3.9.18 + - pip: + - -r requirements.txt diff --git a/evolution/fig-u-v0.6.pdf b/evolution/fig-u-v0.6.pdf index 7bf6e25..0b39b48 100644 Binary files a/evolution/fig-u-v0.6.pdf and b/evolution/fig-u-v0.6.pdf differ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..751c6c4 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,11 @@ +astropy==5.1.1 +corner==2.2.2 +dustmaps==1.0.13 +emcee==2.2.1 +ipython==8.12.3 +isochrones==2.1 +matplotlib==3.6.2 +numpy==1.23.4 +pandas==2.2.2 +pyia==1.4.1 +scipy==1.9.3 \ No newline at end of file