Skip to content

Commit

Permalink
support python3.12 now, so use bbhx master (#4834)
Browse files Browse the repository at this point in the history
* Update tox.ini with Tito's BBHx fork

* Update tox.ini

* Update tox.ini

* Update tox.ini

* Update inference_example_lisa_smbhb_inj.sh

* Update inference_example_lisa_smbhb_ldc.sh

* Update lisa_smbhb_inj_pe.rst

* Update lisa_smbhb_ldc_pe.rst
  • Loading branch information
WuShichao authored Jul 31, 2024
1 parent b3f2d35 commit 63c0ecf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
8 changes: 4 additions & 4 deletions docs/_include/inference_example_lisa_smbhb_inj.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -e
export OMP_NUM_THREADS=1
#cp ../../examples/inference/lisa_smbhb_inj/injection_smbhb.ini injection_smbhb.ini
#sh ../../examples/inference/lisa_smbhb_inj/injection_smbhb.sh
#sh ../../examples/inference/lisa_smbhb_inj/run.sh
#sh ../../examples/inference/lisa_smbhb_inj/plot.sh
cp ../../examples/inference/lisa_smbhb_inj/injection_smbhb.ini injection_smbhb.ini
sh ../../examples/inference/lisa_smbhb_inj/injection_smbhb.sh
sh ../../examples/inference/lisa_smbhb_inj/run.sh
sh ../../examples/inference/lisa_smbhb_inj/plot.sh
6 changes: 3 additions & 3 deletions docs/_include/inference_example_lisa_smbhb_ldc.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set -e
export OMP_NUM_THREADS=1
#sh ../../examples/inference/lisa_smbhb_ldc/get.sh
#sh ../../examples/inference/lisa_smbhb_ldc/run.sh
#python ../../examples/inference/lisa_smbhb_ldc/advanced_plot.py
sh ../../examples/inference/lisa_smbhb_ldc/get.sh
sh ../../examples/inference/lisa_smbhb_ldc/run.sh
python ../../examples/inference/lisa_smbhb_ldc/advanced_plot.py
5 changes: 1 addition & 4 deletions docs/inference/examples/lisa_smbhb_inj_pe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ To plot the posterior distribution after the last iteration, you can run the fol

In this example it will create the following plot:

.. warning::
EXAMPLE TURNED OFF FOR NOW
..
image:: ../../_include/lisa_smbhb_mass_tc.png
.. image:: ../../_include/lisa_smbhb_mass_tc.png
:scale: 60
:align: center

Expand Down
5 changes: 1 addition & 4 deletions docs/inference/examples/lisa_smbhb_ldc_pe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ Or you can run the advanced one:
You can modify this advanced plot script to generate the posterior of any SMBHB signals in the LDC Sangria dataset.
In this example it will create the following plot:

.. warning::
EXAMPLE TURNED OFF FOR NOW
..
image:: ../../_include/lisa_smbhb_mass_tc_0.png
.. image:: ../../_include/lisa_smbhb_mass_tc_0.png
:scale: 60
:align: center

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ deps =
{[base]deps}
pytest
; Needed for `BBHx` package to work with PyCBC
; git+https://github.com/mikekatz04/BBHx.git@4fff509; sys_platform == 'linux'
; git+https://github.com/gwastro/BBHX-waveform-model.git; sys_platform == 'linux'
git+https://github.com/titodalcanton/BBHx.git@py39-and-cleanup; sys_platform == 'linux'
git+https://github.com/gwastro/BBHX-waveform-model.git; sys_platform == 'linux'
conda_deps=
mysqlclient
lin: gcc_linux-64>=12.2.0
Expand Down Expand Up @@ -67,8 +67,8 @@ commands = bash tools/pycbc_test_suite.sh
deps =
{[base]deps}
; Needed for `BBHx` package to work with PyCBC
; git+https://github.com/mikekatz04/BBHx.git@4fff509; sys_platform == 'linux'
; git+https://github.com/gwastro/BBHX-waveform-model.git; sys_platform == 'linux'
git+https://github.com/titodalcanton/BBHx.git@py39-and-cleanup; sys_platform == 'linux'
git+https://github.com/gwastro/BBHX-waveform-model.git; sys_platform == 'linux'
conda_deps=
mysqlclient
lin: gcc_linux-64>=12.2.0
Expand Down

0 comments on commit 63c0ecf

Please sign in to comment.