Giter VIP home page Giter VIP logo

baraffe_tables's People

Contributors

codacy-badger avatar jason-neal avatar pyup-bot avatar sourcery-ai[bot] avatar

Watchers

 avatar

baraffe_tables's Issues

Type error

python BDmass_to_flux_ratio.py HD202206 93 3 -p


Warning: The flux ratio is nan, check that there is the value in Simbad.
/home/jneal/Phd/Codes/baraffe_tables/baraffe_tables/calculations.py:66: UserWarning: Warning: converting a masked element to nan.
  flux_ratios[band] = flux_mag_ratio(float(star_params["FLUX_{0!s}".format(band)]),
Warning: The flux ratio is nan, check that there is the value in Simbad.
Warning: The flux ratio is nan, check that there is the value in Simbad.

Flux ratios:
H band star/companion Flux ratio =  nan,  >>> companion/star Flux ratio = nan
K band star/companion Flux ratio =  nan,  >>> companion/star Flux ratio = nan
J band star/companion Flux ratio =  nan,  >>> companion/star Flux ratio = nan
{'Mi': 12.78493720664016, 'Mj': 10.78602775700605, 'Mh': 10.372141438210313, 'Mv': 17.186642424704118, 'Mk': 10.103364174451166, 'g': 5.289646397715241, 'Mr': 14.994500986493804, 'Teff': 2597.1652357231924, 'Mll': 9.453800394597522, 'M/Ms': 0.08877726375914723, 'L/Ls': -3.2996688686380864, 'Mm': 9.787250493246903, 'R': 0.11165499013506196}
Traceback (most recent call last):
  File "BDmass_to_flux_ratio.py", line 137, in <module>
    sys.exit(main(star_name, companion_mass, age, **opts))
  File "BDmass_to_flux_ratio.py", line 125, in main
    companion_params["Mk"], flux_ratios["K"]))
TypeError: unsupported format string passed to MaskedConstant.__format__

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.