https://github.com/arnauqb/qwind

A non-hydrodynamical model for AGN line-drive winds.

https://github.com/arnauqb/qwind

Science Score: 20.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A non-hydrodynamical model for AGN line-drive winds.

Basic Info
  • Host: GitHub
  • Owner: arnauqb
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Size: 10 MB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created over 7 years ago · Last pushed almost 5 years ago
Metadata Files
Readme License

README.md

Warning: This is an old version of the code no longer supported. Please go here for the current version.

Build Status codecov

Qwind: A non-hydrodynamical model of AGN line-driven winds.

Qwind is a code that aims to simulate the launching and acceleration phase of line-driven winds in the context of AGN accretion discs. To do that, we model the wind as a set of streamlines originating on the surface of the AGN accretion disc, and we evolve them following their equation of motion, given by the balance between radiative and gravitational force.

Code summary

Please refer to https://arxiv.org/abs/2001.04720 for a detailed physical explanation of the model. The code is divided into three main classes: wind, radiation, and streamline. The wind class is the main class and the one that is used to initialise the model. It contains the global information of the accretion disc such as accretion rate, density profile, etc. The radiation processes are handled in the radiation class. There are multiple implementations of the radiation class available, for different treatments of the radiation field. A model can be initialised with a particular radiation model by changing the radiation_mode argument when initialising the wind class. Lastly, the streamline class represents a single streamline, and contains the Euler iterator that solves its equation of motion. It also stores all the physical information of the streamline at every point it travels, so that it is easy to analyse and debug.

Getting started

Prerequisites

See the requirements.txt file. Also, due to a current error on the Assimulo package in PyPI, it is required to install it through conda.

conda install -c conda-forge assimulo

You also need to have installed the GSL library.

Installing

Clone the repo

git clone https://github.com/arnauqb/qwind

change directory and install with pip,

cd qwind pip install -e . make

Quickstart

See the notebook quickstart.ipynb for an example on how to run the code.

Running the tests

The tests can be easily run by installing pytest and running

cd test pytest

Citing

Please cite the original paper if you use the code. ADS reference: https://ui.adsabs.harvard.edu/abs/2020MNRAS.495..402Q/abstract

License

The project is licensed under the GPL3 license. See LICENSE.md file for details.

Owner

  • Name: Arnau Quera-Bofarull
  • Login: arnauqb
  • Kind: user
  • Location: Oxford

Astrophysicist now doing research on agent-based modeling at Oxford.

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 154
  • Total Committers: 2
  • Avg Commits per committer: 77.0
  • Development Distribution Score (DDS): 0.292
Top Committers
Name Email Commits
arnauq a****a@g****m 109
Arnau a****l@d****k 45
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • JohannesBuchner (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 30 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 2
    (may contain duplicates)
  • Total versions: 6
  • Total maintainers: 1
pypi.org: qsosed

A physical model for SED of QSO.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 23 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.5%
Forks count: 22.6%
Average: 25.0%
Stargazers count: 25.1%
Downloads: 45.5%
Maintainers (1)
Last synced: 12 months ago
pypi.org: qwind

AGN line-driven winds model.

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 7 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.5%
Forks count: 22.6%
Stargazers count: 25.1%
Average: 27.6%
Downloads: 58.7%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • astropy *
  • codecov *
  • cython *
  • llvmlite *
  • numba *
  • numpy *
  • pandas *
  • pytest *
  • pytest-cov *
  • scipy *
  • tqdm *