Astromodels is a very flexible framework to define models for likelihood or Bayesian analysis of astrophysical data.
Even though it has been designed having in mind analysis in the spectral domain, it can be used also as a toolbox containing functions of any variable.
Astromodels is not a modeling package, it only gives you the tools to build a model as complex as you need. You then need a separate package (such as 3ML, github.com/giacomov/3ML) to fit that model to the data.
Some of the features which distinguish astromodels from other similar packages are:
Astromodels has been designed with performance as priority, and is considerably faster than other python-based solution for the same problem, such as astropy.modeling and the modeling part of sherpa.
In [ ]: