Giter Club home page Giter Club logo

dmwel's Introduction

DMWEL

Mathematica and Python code for "Dark matter with excitable levels", by Andrew J. Wren, at arxiv:1912.11453

The files, other than this README.md, are explained below. For further details, refer to the paper.

DMWEL_calculations.nb is the main Mathematica notebook. If not already set up, you will need to configure MaTeX - see http://szhorvat.net/pelican/latex-typesetting-in-mathematica.html - to draw the figures.

dmwel_data.data is a supporting datafile, which is used to avoid repeating long calculations. Ensure that it is put in the same folder as DMWEL_calculations.nb.

All the calculations and data are generated by DMWEL_calculations.nb, except for the CMB anistropy calculations made in ExoCLASS. These are done as follows.

The Python files common.py and model.py should replace the corresponding files in the ExoCLASS's /DarkAgesModule/DarkAges/, for example in the version https://github.com/lesgourg/class_public/tree/42e8f9418e3442d1ea3f26ff84dc9f0e856a0f1d

The Jupyter interactive Python notebook dmwel_chi_and_fc.ipynb and the associated data file ftabPython.data (which was generated by DMWEL_calculations.nb) should be put in ExoCLASS's /notebooks/.

To run ExoCLASS, I used Ubuntu in Windows 10 to run Jupyter, and on Jupyter opened and ran dmwel_chi_and_fc.ipynb, using a Python 2 kernel.

dmwel's People

Contributors

andrewwren avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.