nanograv / dwg_tutorials Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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?
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
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.