Modified GRAD_WINDOW_LENGTH calculation for sooner calculation of valid...
Loading
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
This MR includes two fixes and a little extra documentation for the ptemcee
module.
mean_log_posterior
array to np.nan
GRAD_WINDOW_LENGTH
over which the gradient of the mean log posterior is calculated to be one of two cases:
2 * ((ndim + 1) // 2) + 1
or2 * (nwalkers // 2) + 1
, the original calculation of this variable in bilby, when ndim <= 3
, as otherwise, the gradient calculation fails (because GRAD_WINDOW_LENGTH
becomes too small)