Closed danabalser closed 3 weeks ago
@danabalser The parameter prior_baseline_coeffs
must have length equal to the number of baseline polynomial coefficients, which is baseline_degree + 1
. In this case, you have specified baseline_degree = 3
so prior_baseline_coeffs
must have length 4. Try: prior_baseline_coeffs = [1.0, 1.0, 1.0, 1.0]
or just prior_baseline_coeffs = None
.
I will update the model to produce a more informative error message!
@tvwenger Okay, that worked. Thanks.
Better error message implemented by https://github.com/tvwenger/bayes_spec/pull/32
@tvwenger I had problems checking the prior distribution. Following the HFSModel Tutorial using real ALMA data here is what I get: