Giter Site home page Giter Site logo

willjroper / hoki Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heloises/hoki

0.0 0.0 0.0 389 MB

Bridging the gap between observation and theory

Home Page: https://heloises.github.io/hoki/intro.html

License: BSD 3-Clause "New" or "Revised" License

Python 97.62% TeX 1.97% Makefile 0.17% Batchfile 0.23%

hoki's Introduction

black_text.png

PyPI

https://img.shields.io/pypi/dm/hoki

Bridging the Gap Between Observation and Theory

In order to facilitate the application of BPASS to a wide range of scientific investigations, we have developped the tools necessary for observers to take full advantage of our models in an intuitive manner.

Hoki is not only versatile, it also takes care of the nitty gritty pre-processing!

Spend less time on coding and more time on the science!

WHAT IS BPASS?

The Binary Populations And Spectral Synthesis (BPASS) code simulates stellar populations and follows their evolution until death. Including binary evolution is crucial to correctly interpreting astronomical observations. The detailed follow-up of the stellar evolution within the code allows the retreival of important information such as supernova and gravitational wave event rates, giving us the ability to understand the properties of the stellar populations that are the precursors of these events.

Installing hoki

You can pip install the most recent stable release from pip:

pip3 install --user hoki

You can also download the github dev version with the following command:

pip3 install . git+https://github.com/HeloiseS/hoki

If you install the development version of hoki from github, we recommend you do so in a conda environment To check that hoki is up and running you can run the unit tests in the test folder. I like using pytest (which you'll have to download) and run

pytest --verbose

This way it'll show you each test as they pass or FAIL. In the pip and github version, they should all pass on your machine as data is provided within the package to test the functionalities.

Requirements: The following packages are required by hoki. If you pip install the stable version from pypi it will all be done automatically.

`astropy`, `numpy`, `scipy`, `pandas`, `matplotlib`, `pyyaml`, `wheel`, `emcee`, `corner`, `numba`, `specutils`, `ppxf`

Tested for python 3.7 and above. Python 2 not supported.


Read the docs

Click Here! Click Here! Click Here!


Download Tutorials

Check out these Jupyter notebooks I made - you can find them on this repo!


Paper and how to cite us!

Our paper Hoki: Making BPASS Accessible Through Python has now been published in the Journal of Open Source Software (JOSS). (See DOI above)

The paper is available on ArXiv as published by JOSS

Please if you use `hoki` for your science, include us in your publications! As you can imagine developing a tool and maintaining it for the community is very time consuming, and unfortunatly citations remain the most important metric.

If you use the following tools, please acknowledge the follwing publications:

AgeWizard:

https://img.shields.io/badge/arxiv-2004.02883-red

UnderlyingCountRatio:

https://img.shields.io/badge/arxiv-2004.13040-red

BIBTEX

@ARTICLE{2020JOSS....5.1987S,
    author = {{Stevance}, Heloise and {Eldridge}, J. and {Stanway}, Elizabeth},
     title = "{Hoki: Making BPASS accessible through Python}",
   journal = {The Journal of Open Source Software},
  keywords = {Python, galaxies, Batchfile, SED, astronomy, binary stars, Astrophysics - Solar and Stellar Astrophysics, Astrophysics - Astrophysics of Galaxies, Astrophysics - Instrumentation and Methods for Astrophysics},
      year = "2020",
     month = "Jan",
    volume = {5},
    number = {45},
       eid = {1987},
     pages = {1987},
       doi = {10.21105/joss.01987},
  archivePrefix = {arXiv},
    eprint = {2001.11069},
  primaryClass = {astro-ph.SR},
    adsurl = {https://ui.adsabs.harvard.edu/abs/2020JOSS....5.1987S},
   adsnote = {Provided by the SAO/NASA Astrophysics Data System}
 }

License

This project is Copyright (c) H. F. Stevance and licensed under the terms of the BSD 3-Clause license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause licence.


Contributing

If ANYTHING comes to mind, whether it be something in the tutorials, features you would like us to consider, BUGS, etc.. Please just drop it in an issue! Don't let your imposter syndrome talk you out of it ;)

Powered by Astropy Badge

hoki's People

Contributors

findesgh avatar glebgeinke avatar heloises avatar krytic avatar maxbriel avatar willjroper 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.