Skip to main content

Astromodels contains models to be used in likelihood or Bayesian analysis in astronomy

Project description

astromodels

CI codecov Documentation Status License GitHub contributors DOI

GitHub pull requests GitHub issues

PyPi

PyPI version fury.io PyPI - Downloads

Conda

Conda Conda

alt text

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) 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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astromodels-2.4.1.tar.gz (2.2 MB view details)

Uploaded Source

File details

Details for the file astromodels-2.4.1.tar.gz.

File metadata

  • Download URL: astromodels-2.4.1.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for astromodels-2.4.1.tar.gz
Algorithm Hash digest
SHA256 eeb23c30002073d6650289bfb35b80b42eb08336db40da40298fe686c6070587
MD5 ea75ec29753678aef61ea4cd0c32ae22
BLAKE2b-256 4e9b0a30e369f7def69d26554214f106323724736985f4386f7c51b5a8ff3a37

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page