CIRADA-Tools / RM-Tools

RM-synthesis, RM-clean and QU-fitting on polarised radio spectra
MIT License
42 stars 23 forks source link

QU-fitting: Handling of multimodal distributions #27

Closed AlecThomson closed 1 year ago

AlecThomson commented 4 years ago

Currently QU-fitting reports the median of the posterior distributions as the 'best fit' value. This is fine for single component cases, but is problematic for multi-component fits which are often multi-modal.

I'm currently investigating a solution using a KDE to find the modal value, but I thought I should raise the issue for book-keeping purposes.

AlecThomson commented 1 year ago

Resolved in part by #29 and properly by prior constraints in #56.