Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
bilby
Commits
f87b5ef1
Commit
f87b5ef1
authored
3 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into gw-improvements
parents
4891e94a
fef914d0
No related branches found
No related tags found
1 merge request
!948
Improvements to bilby.gw
Pipeline
#216550
passed
3 years ago
Stage: initial
Stage: test
Stage: docs
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+0
-1
0 additions, 1 deletion
.gitlab-ci.yml
test/integration/sample_from_the_prior_test.py
+3
-2
3 additions, 2 deletions
test/integration/sample_from_the_prior_test.py
test/integration/sampler_run_test.py
+7
-2
7 additions, 2 deletions
test/integration/sampler_run_test.py
with
10 additions
and
5 deletions
.gitlab-ci.yml
+
0
−
1
View file @
f87b5ef1
...
...
@@ -115,7 +115,6 @@ python-3.7-samplers:
-
python -m pip install .
-
pytest test/integration/sampler_run_test.py --durations
10
-
pytest test/integration/sample_from_the_prior_test.py
# test samplers on python 3.6
python-3.6-samplers
:
...
...
This diff is collapsed.
Click to expand it.
test/integration/sample_from_the_prior_test.py
+
3
−
2
View file @
f87b5ef1
...
...
@@ -90,10 +90,11 @@ class Test(unittest.TestCase):
likelihood
=
likelihood
,
priors
=
priors
,
sampler
=
"
dynesty
"
,
n
points
=
1000
,
walks
=
10
0
,
n
live
=
1000
,
nact
=
10
,
outdir
=
self
.
outdir
,
label
=
label
,
save
=
False
)
pvalues
=
[
ks_2samp_wrapper
(
...
...
This diff is collapsed.
Click to expand it.
test/integration/sampler_run_test.py
+
7
−
2
View file @
f87b5ef1
...
...
@@ -48,7 +48,12 @@ class TestRunningSamplers(unittest.TestCase):
likelihood
=
self
.
likelihood
,
priors
=
self
.
priors
,
sampler
=
"
dnest4
"
,
nlive
=
100
,
max_num_levels
=
2
,
num_steps
=
10
,
new_level_interval
=
10
,
num_per_step
=
10
,
thread_steps
=
1
,
num_particles
=
50
,
save
=
False
,
)
...
...
@@ -147,7 +152,7 @@ class TestRunningSamplers(unittest.TestCase):
sampler
=
"
pymc3
"
,
draws
=
50
,
tune
=
50
,
n_init
=
100
0
,
n_init
=
25
0
,
save
=
False
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment