DavidT3 / XGA

X-ray: Generate and Analyse is a module designed to make the analysis of XMM observations simple and efficient. It provides an interface with SAS for the creation of XMM data products, as well as a way to easily perform fits (scalable for multiple observations) and retrieve information about an object, all within a Python package.
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

Add a Bayesian lasso fitting system to profiles #1181

Open DavidT3 opened 2 months ago

DavidT3 commented 2 months ago

This seems like it will be a handy notebook:

https://github.com/rhys-m-adams/bayesian-lasso/blob/master/bayes_lasso.ipynb

The idea being similar to what Eckert implemented in https://ui.adsabs.harvard.edu/abs/2020OJAp....3E..12E/abstract - but a more general system for fitting special models (they will probably have to be a model subclass) with many many components (N-beta/king for instance, or even a sum of many cubic splines, stuff like that).

There is no great rush to implement this idea, but it might become useful for representing the details of (for instance) a surface brightness profile whilst retaining the utility of having a functional form (for deprojection, or whatever).

This may also be extensible to fitting surface brightness maps as well.