GithubHelp home page GithubHelp logo

dwg_tutorials's People

Contributors

stevertaylor avatar svigeland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dwg_tutorials's Issues

No enterprise_extensions.setup_sampler in model_utils

I get an error when running the last part of gwa_tutorial.ipynb "Now, the easy way to do all of this" during the sampler_setup step that model_utils doesn't have setup_sampler.

# Setup a sampler instance.
# This will add some fanicer stuff than before, like prior draws, 
# and custom sample groupings.
sampler = model_utils.setup_sampler(pta, outdir=outdir, resume=False)

If I replace model_utils with sampler and import sampler from enterprise_extensions earlier, then it works. I found this by grepping in enterprise_exentions, so I don't know if this is the Right Thing To Do. There is also a sampler_setup in hypermodel.

dm_gp isn't defined in gwa_tutorial_part2.ipynb

The following cell in gwa_tutorial_part2.ipynb gives an error that dm_gp isn't defined:

# full model
if bayesephem:
    s = ef + eq + rn + dm_gp + tm + eph + gw
else:
    s = ef + eq + rn + dm_gp + tm + gw

log10_A_dm and gamma_dm are both defined, so presumably, there should have been something above to the effect of:

dm = utils.powerlaw(log10_A=log10_A_dm, gamma=gamma_dm)
dm_gp = gp_signals.FourierBasisGP(spectrum=dm, components=30, Tspan=Tspan, name='dm')

or else not include dm_gp in the s = ... line.

Also, @stevertaylor, would it be more efficient to create a dwg-tutorials channel on slack for this kind of thing?

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.