diff --git a/docs/prior.txt b/docs/prior.txt index 39b81aef1b9c31f1f487b706821d4f962316f833..8f89a0ad06317cb1852599da9eaa8fb01bebe2f3 100644 --- a/docs/prior.txt +++ b/docs/prior.txt @@ -221,8 +221,8 @@ For BNSs it also generates the tidal deformability parameters. Prior Examples ----------------- -Here we show some examples of prior files for different waveform families. -Note that to constrain a certain parameter to a fixed value, you just need: +Here we show some examples of prior files for different waveform families. +To constrain a certain parameter to a fixed value, you just need: .. code:: python @@ -230,7 +230,7 @@ Note that to constrain a certain parameter to a fixed value, you just need: ------ -To constraint the prior to a certain range , you can use: +To constrain the prior to a certain range , you can use: .. code:: python @@ -238,6 +238,16 @@ To constraint the prior to a certain range , you can use: ------ +Note that to activate the tidal effect you need to specify in your configuration +file: + +.. code:: python + + frequency_domain_source_model=lal_binary_neutron_star + +------ + + Aligned spins waveform with tides off ============== @@ -259,3 +269,11 @@ Precessing spins waveform with tides on .. literalinclude:: /../bilby/gw/prior_files/precessing_spins_waveform_tides_on.prior +----------------- +Priors using a Jupyter notebook +----------------- + +Bilby saves as output the prior volume sampled. You might also find useful to +produce priors directly from a Jupyter notebook. You can have a look at one of +the Bilby tutorials to check how you define and plot priors in a Jupyter notebook: +`making_priors.ipynb <https://git.ligo.org/lscsoft/bilby/-/blob/master/examples/tutorials/making_priors.ipynb>`_.