Giter Site home page Giter Site logo

dart_board's People

Contributors

1nhtran avatar astrojeff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dart_board's Issues

Add an extra phase variable for SN kicks

When a star goes through a supernova kick while in an eccentric binary, BSE/cosmic requires a phase angle. Currently that phase angle is randomly drawn within the kick function, which breaks detailed balance. Since most binaries (>95%) are circular when they undergo core collapse, this affects only a small number of systems. Nevertheless, it ought to be fixed: we should include an extra parameter within dart_board (and BSE/cosmic) for the phase of the kick.

No module named 'bse'

Hi,

Very nice work on dart_board! I was hoping to try running the code myself.

I was following the dart_board installation guide here:
http://dart-board.readthedocs.io/en/latest/guide/install.html#

And got dart_board and pybse to install ok but when I run the example I get:


import numpy as np
import dart_board
import pybse

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-c9163f41cdc1> in <module>()
      1 import numpy as np
      2 import dart_board
----> 3 import pybse
      4 
      5 # Set up the sampler

~/github/dart_board/pyBSE/pybse/__init__.py in <module>()
      1 
      2 
----> 3 from .bse_wrapper import *

~/github/dart_board/pyBSE/pybse/bse_wrapper.py in <module>()
      2 import sys
      3 sys.path.append("../")
----> 4 import bse
      5 import os
      6 

ModuleNotFoundError: No module named 'bse'

Which makes me think I have missed a step.

Any advice would be greatly appreciated!

Thanks,
Simon

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.