Code Monkey home page Code Monkey logo

cosmology.jl's Introduction

Cosmology.jl

Build Status codecov Aqua QA

This is a fork that extends Cosmology.jl. See the linked docs above for info and usage.

Installation

This package is not registered so you have to add it from the Github URL as

pkg> add https://github.com/cgarling/Cosmology.jl.git

after which you can load it by executing

julia> using Cosmology

cosmology.jl's People

Contributors

cgarling avatar

Watchers

 avatar

cosmology.jl's Issues

New types for different dark energy models

If we separate out the implementation of dark energy into other types (e.g., cosmological constant, w0wa, etc) we could encapsulate them in the cosmology objects which could allow more efficient dispatches (e.g., H for a cosmological constant is simpler than for w0wa).

This may complicate some other calculations so worth thinking more about what interface we would want to enforce.

nu_relative_density

Should probably try to change nu_relative_density to be smarter about the number of massless neutrinos if the length of the m_nu iterable is not the same as N_nu

jldoctests for unitful quantities

Powers of Unitful quantities (like 1 / Unitful.Mpc^3) print to console differently on Linux and on Mac OS, causing our doctests (which require an exact print match) to fail. Refactor the doctests with Unitful outputs to do a \approx check and return true instead. Not as nice to read, but should be more stable long-term, as it doesn't depend on how Unitful elects to print quantities to the terminal.

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.