bilby issueshttps://git.ligo.org/lscsoft/bilby/-/issues2020-04-25T01:16:12Zhttps://git.ligo.org/lscsoft/bilby/-/issues/415Add doctest to the bilby test suite2020-04-25T01:16:12ZDaniel Williamsdaniel.williams@ligo.orgAdd doctest to the bilby test suiteAt the moment examples in docstrings aren't included in the bilby testing process.
In order to improve the project's documentation automated doctest discovery should be implemented.
Doctest integration with the `unittest` API is document...At the moment examples in docstrings aren't included in the bilby testing process.
In order to improve the project's documentation automated doctest discovery should be implemented.
Doctest integration with the `unittest` API is documented [here](https://docs.python.org/2/library/doctest.html#unittest-api).Daniel Williamsdaniel.williams@ligo.orgDaniel Williamsdaniel.williams@ligo.orghttps://git.ligo.org/lscsoft/bilby/-/issues/505Use NS weights for posterior plots and quantiles2020-09-28T15:14:12ZMatthew PitkinUse NS weights for posterior plots and quantilesIf working with the outputs of nested sampling code and we have the weights stored in the `Result` object we should allow the `plot_corner` function to use all the nested samples, but with weights applied (as is done in [dynesty](https:/...If working with the outputs of nested sampling code and we have the weights stored in the `Result` object we should allow the `plot_corner` function to use all the nested samples, but with weights applied (as is done in [dynesty](https://github.com/joshspeagle/dynesty/blob/master/dynesty/plotting.py#L968) and ultranest). This will reduce the sampling noise especially in the wings of the posteriors. We should also look at the dynesty [quantile](https://github.com/joshspeagle/dynesty/blob/master/dynesty/utils.py#L184) function, which will use the weights to work out quantiles, which again should reduce the random noise on the values.Futurehttps://git.ligo.org/lscsoft/bilby/-/issues/553Add documentation describing parameters in conversion.py2024-02-22T22:02:14ZAvi Vajpeyiavi.vajpeyi@ligo.orgAdd documentation describing parameters in conversion.pySome function parameters (eg see https://lscsoft.docs.ligo.org/bilby/conversion.html#bilby.gw.conversion.generate_component_spins) dont have comments describing them. It would be helpful if they have some notes on what they are.
Table E...Some function parameters (eg see https://lscsoft.docs.ligo.org/bilby/conversion.html#bilby.gw.conversion.generate_component_spins) dont have comments describing them. It would be helpful if they have some notes on what they are.
Table E1 would be a good starting point to write the definitions (https://dcc.ligo.org/DocDB/0168/P2000168/002/BilbyGWTC.pdf)mattia emmamattia emmahttps://git.ligo.org/lscsoft/bilby/-/issues/672Remove calibration plots from trace (bilby_mcmc, dynesty)2024-02-22T21:36:08ZGregory Ashtongregory.ashton@ligo.orgRemove calibration plots from trace (bilby_mcmc, dynesty)Our trace plots with 20 * Ndet axes can be fairly memory intensive and I've seen them break. It would be nice before an O4 release to remove these. The most straightforward thing I can think of is to add an optional "remove_plot_keys" fl...Our trace plots with 20 * Ndet axes can be fairly memory intensive and I've seen them break. It would be nice before an O4 release to remove these. The most straightforward thing I can think of is to add an optional "remove_plot_keys" flag or something that antimatches any keys that should not be plotted.Sylvia BiscoveanuSylvia Biscoveanuhttps://git.ligo.org/lscsoft/bilby/-/issues/696Update documentation and examples to reflect changes to random seed2024-02-22T16:52:04ZMichael Williamsmichael.williams@ligo.orgUpdate documentation and examples to reflect changes to random seedhttps://git.ligo.org/lscsoft/bilby/-/merge_requests/1273 changed how random numbers are generated, but the examples and documentation do not reflect this change. We should update the examples to use the new method and consider adding a n...https://git.ligo.org/lscsoft/bilby/-/merge_requests/1273 changed how random numbers are generated, but the examples and documentation do not reflect this change. We should update the examples to use the new method and consider adding a note to the documentation to explain how to set the random seed.
For reference, I think the correct way is now:
```python
import bilby
bilby.core.utils.random.seed(1234)
```Gregory Ashtongregory.ashton@ligo.orgGregory Ashtongregory.ashton@ligo.org