Skip to content

JetSeT a framework for self-consistent modeling and fitting of astrophysical relativistic jets

License

Notifications You must be signed in to change notification settings

andreatramacere/jetset

Repository files navigation

pip test conda test img

JetSeT is an open source C/Python framework to reproduce radiative and accelerative processes acting in relativistic jets, and galactic objects (beamed and unbeamed), allowing to fit the numerical models to observed data. The main features of this framework are:

  • handling observed data: re-binning, definition of data sets, bindings to astropy tables and quantities definition of complex numerical radiative scenarios: Synchrotron Self-Compton (SSC), external Compton (EC) and EC against the CMB

  • Constraining of the model in the pre-fitting stage, based on accurate and already published phenomenological trends. In particular, starting from phenomenological parameters, such as spectral indices, peak fluxes and frequencies, and spectral curvatures, that the code evaluates automatically, the pre-fitting algorithm is able to provide a good starting model,following the phenomenological trends that I have implemented. fitting of multiwavelength SEDs using
    both frequentist approach (iminuit) and bayesian MCMC sampling (emcee)

  • Self-consistent temporal evolution of the plasma under the effect of radiative, accelerative processes, and adiabatic expansion. Both first order and second order (stochastic acceleration) processes are implemented.

Acknowledgements

If you use this code in any kind of scientific publication please cite the following papers:

Documentation

visit: https://jetset.readthedocs.io/en/latest/

run the notebook on binder: Binder

Installation

Read the documentation for further details (e.g. installing form source etc...) here

Install JetSeT from Anaconda

  • create a virtual environment (not necessary, but suggested):

    conda create --name jetset python=3.10 ipython jupyter

    conda activate jetset

  • install the code:

    conda install -c andreatramacere jetset

Install JetSeT from pip

  • create a virtual environment (not necessary, but suggested):

    pip install virtualenv

    virtualenv -p python3.10 jetset

    source jetset/bin/activate

    pip install ipython jupyter

  • install the code:

    pip install jetset>=1.3

Licence

JetSeT is released under a 3-clause BSD license, for deatils see License file