# astromodels
![CI](https://github.com/threeML/astromodels/workflows/CI/badge.svg)
[![codecov](https://codecov.io/gh/threeML/astromodels/branch/master/graph/badge.svg)](https://codecov.io/gh/threeML/astromodels)
[![Documentation Status](https://readthedocs.org/projects/astromodels/badge/?version=latest)](http://astromodels.readthedocs.io/en/latest/?badge=latest)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
![GitHub contributors](https://img.shields.io/github/contributors/threeML/astromodels)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5646925.svg)](https://doi.org/10.5281/zenodo.5646925)
![GitHub pull requests](https://img.shields.io/github/issues-pr/threeML/astromodels)
![GitHub issues](https://img.shields.io/github/issues/threeML/astromodels)
## PyPi
[![PyPI version fury.io](https://badge.fury.io/py/astromodels.svg)](https://pypi.python.org/pypi/astromodels/)
![PyPI - Downloads](https://img.shields.io/pypi/dm/astromodels)
## Conda
![Conda](https://img.shields.io/conda/pn/threeml/astromodels)
![Conda](https://img.shields.io/conda/dn/threeml/astromodels)
![alt text](https://raw.githubusercontent.com/threeml/astromodels/master/docs/media/large_logo.png)
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/threeML/threeML)) to fit that model to the data.
Some of the features which distinguish astromodels from other similar packages are: * a model can contain an arbitrary number of sources at different positions in the sky * parameters can be linked through any function (not only identity) * parameters can vary with auxiliary variables such as time. For example, you can build a model where some parameters vary with time, and you can fit the parameters of the function which describe this variability. Similary you can build models where parameters vary with the phase of a pulsar, and so on. * models can be saved in and loaded from YAML file (a human-readable format) * physical units are fully supported in input, but they are handled so that they don’t slow down the actualy computation of the models.
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.
Documentation: http://astromodels.readthedocs.org/en/latest/
Raw data
{
"_id": null,
"home_page": "https://github.com/threeml/astromodels",
"name": "astromodels",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Likelihood, Models, fit",
"author": "Giacomo Vianello",
"author_email": "giacomo.vianello@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/20/23/52bed178c8ba488b8139474952d7be3044415db3247c6cf9943c0c062ee8/astromodels-2.4.2.tar.gz",
"platform": null,
"description": "# astromodels\n\n![CI](https://github.com/threeML/astromodels/workflows/CI/badge.svg)\n[![codecov](https://codecov.io/gh/threeML/astromodels/branch/master/graph/badge.svg)](https://codecov.io/gh/threeML/astromodels)\n[![Documentation Status](https://readthedocs.org/projects/astromodels/badge/?version=latest)](http://astromodels.readthedocs.io/en/latest/?badge=latest)\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n![GitHub contributors](https://img.shields.io/github/contributors/threeML/astromodels)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5646925.svg)](https://doi.org/10.5281/zenodo.5646925)\n\n![GitHub pull requests](https://img.shields.io/github/issues-pr/threeML/astromodels)\n![GitHub issues](https://img.shields.io/github/issues/threeML/astromodels)\n## PyPi\n\n[![PyPI version fury.io](https://badge.fury.io/py/astromodels.svg)](https://pypi.python.org/pypi/astromodels/)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/astromodels)\n\n## Conda\n![Conda](https://img.shields.io/conda/pn/threeml/astromodels)\n![Conda](https://img.shields.io/conda/dn/threeml/astromodels)\n\n\n![alt text](https://raw.githubusercontent.com/threeml/astromodels/master/docs/media/large_logo.png)\n\nAstromodels is a very flexible framework to define models for likelihood or Bayesian analysis of astrophysical data.\n\nEven 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.\n\nAstromodels 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/threeML/threeML)) to fit that model to the data.\n\nSome of the features which distinguish astromodels from other similar packages are: * a model can contain an arbitrary number of sources at different positions in the sky * parameters can be linked through any function (not only identity) * parameters can vary with auxiliary variables such as time. For example, you can build a model where some parameters vary with time, and you can fit the parameters of the function which describe this variability. Similary you can build models where parameters vary with the phase of a pulsar, and so on. * models can be saved in and loaded from YAML file (a human-readable format) * physical units are fully supported in input, but they are handled so that they don\u2019t slow down the actualy computation of the models.\n\nAstromodels 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.\nDocumentation: http://astromodels.readthedocs.org/en/latest/\n",
"bugtrack_url": null,
"license": null,
"summary": "Astromodels contains models to be used in likelihood or Bayesian analysis in astronomy",
"version": "2.4.2",
"project_urls": {
"Bug Tracker": "https://github.com/threeML/astromodels/issues",
"Documentation": "https://astromodels.readthedocs.io",
"Download": "https://github.com/threeml/astromodels/archive/v0.1",
"Homepage": "https://github.com/threeml/astromodels",
"Source Code": "https://github.com/threeML/astromodels"
},
"split_keywords": [
"likelihood",
" models",
" fit"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "202352bed178c8ba488b8139474952d7be3044415db3247c6cf9943c0c062ee8",
"md5": "1a9d721dd54dd4d8336846be9542e63e",
"sha256": "cdf305d32ecad028842b99a940076972a112674fc6252a312f9e9521d81cc8a5"
},
"downloads": -1,
"filename": "astromodels-2.4.2.tar.gz",
"has_sig": false,
"md5_digest": "1a9d721dd54dd4d8336846be9542e63e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2185560,
"upload_time": "2024-05-17T21:40:16",
"upload_time_iso_8601": "2024-05-17T21:40:16.653838Z",
"url": "https://files.pythonhosted.org/packages/20/23/52bed178c8ba488b8139474952d7be3044415db3247c6cf9943c0c062ee8/astromodels-2.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-17 21:40:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "threeml",
"github_project": "astromodels",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"lcname": "astromodels"
}