Skip to content

Commit

Permalink
Merge pull request #447 from mj-will/fix-bilby-examples
Browse files Browse the repository at this point in the history
EXAMP: fix bilby examples
  • Loading branch information
mj-will authored Jan 9, 2025
2 parents a54c870 + 489c060 commit c477591
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/bilby_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
label = "bilby_example"

# Setup the bilby logger this will also configure the nessai logger.
bilby.core.utils.configure_logger(outdir=outdir, label=label)
bilby.core.utils.setup_logger(outdir=outdir, label=label)

# Define a likelihood using Bilby

Expand Down
2 changes: 1 addition & 1 deletion examples/bilby_unbounded_priors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
label = "bilby_unbounded_priors"

# Setup the bilby logger
bilby.core.utils.configure_logger(outdir=outdir, label=label)
bilby.core.utils.setup_logger(outdir=outdir, label=label)

# Define a likelihood using Bilby

Expand Down
2 changes: 1 addition & 1 deletion examples/gw/basic_gw_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
outdir = "./outdir/"
label = "basic_gw_example"

bilby.core.utils.configure_logger(outdir=outdir, label=label)
bilby.core.utils.setup_logger(outdir=outdir, label=label)

duration = 4.0
sampling_frequency = 2048.0
Expand Down
2 changes: 1 addition & 1 deletion examples/gw/calibration_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

outdir = "./outdir/"
label = "calibration_example"
bilby.core.utils.configure_logger(outdir=outdir, label=label)
bilby.core.utils.setup_logger(outdir=outdir, label=label)

bilby.core.utils.random.seed(150914)

Expand Down
2 changes: 1 addition & 1 deletion examples/gw/full_gw_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
outdir = "./outdir/"
label = "full_gw_example"

bilby.core.utils.configure_logger(outdir=outdir, label=label)
bilby.core.utils.setup_logger(outdir=outdir, label=label)

duration = 4.0
sampling_frequency = 2048.0
Expand Down
2 changes: 1 addition & 1 deletion examples/gw/ins_gw_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
outdir = "./outdir/"
label = "ins_gw_example_full"

bilby.core.utils.configure_logger(outdir=outdir, label=label)
bilby.core.utils.setup_logger(outdir=outdir, label=label)

duration = 4.0
sampling_frequency = 2048.0
Expand Down

0 comments on commit c477591

Please sign in to comment.