Compatibility between sampling frequency and maximum frequency when using Mulitbanded likelihood
When using a multibanding likelihood, if the sampling frequency is not the next power of two from 2 * maximum-frequency, bilby raises an error. For example, when setting a sampling rate of 4096 Hz and a maximum frequency of 800 Hz, I get IndexError: boolean index did not match indexed array along dimension 0; dimension is 524289 but corresponding boolean dimension is 1048577
. This seems to be fixed by setting the sampling frequency to 2048 Hz. Is this intended?