A simple one zone code that can do many different flavours of flares
Project description
flaremodel
Overview
flaremodel is a Python package designed for one-zone modeling of astrophysical synchrotron sources.
The code aims to provide modular interface for the modeling of synchrotron sources with efficient low level utility functions written in C - the cfuncs module.
These functions constitute the core of the flaremodel. The Python interface is built on top of these functions for convenience and guidance to formulate new models.
Multithreading support is implemented with OpenMP at a lower level in the cfuncs module where it is found useful.
At the same time, these low level functions bypass the infamous Global Interpreter Lock (GIL) of Python.
In simple words, users can implement efficient high level multithreading on python side when low level C functions are used and avoid the costly overheads of multiprocessing.
Our documentation covers the installation, module references and examples.
The documentation mostly covers the usage of the code. The detailed methodology/physics are covered in our paper.
The examples introduced in the paper are provided as jupyter notebooks in notebooks/ directory of the tarball and can also serve as a test of the compiled code.
Please cite the paper when the code is used in academical studies. Note that the paper refers to our first stable release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flaremodel-1.0.3.tar.gz.
File metadata
- Download URL: flaremodel-1.0.3.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c50cfb76cf40260d186d1e10c6e3df34e04e910e509272ca928ff6aefde5e6e
|
|
| MD5 |
52e04acf4f35fbf6dac1b19d6c59b16a
|
|
| BLAKE2b-256 |
9538b3a370fd0d935bcab6a292945b544ca64c9bbf8e995eef43ef0d508e8172
|
File details
Details for the file flaremodel-1.0.3-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 111.3 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69089ea21ca0d33ed74347be1dd260f50b042e8b2c8a3505a956592c1a2d254b
|
|
| MD5 |
37f4fabe9ed2c5e96b0175de256beec7
|
|
| BLAKE2b-256 |
5453228aaeeca89722af5ae6453279751791f38a78fce8f19aa574c8c6dc866b
|
File details
Details for the file flaremodel-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2590b9d060b077e56e58f6cb67049de9c31931acc1180da5cb8e93d27019ed0c
|
|
| MD5 |
8f179e9546eba72265c67d9b52a0b09c
|
|
| BLAKE2b-256 |
9655795ed63a68f245e944829a50a6f3c5612359101276802241b15da7425bb7
|
File details
Details for the file flaremodel-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 103.7 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d51dc492542cc57ece369c083b50f5871979aaddbd9c00f8c6607e72186e227a
|
|
| MD5 |
ce5c4ee467845d1040fd2134aa12bfb8
|
|
| BLAKE2b-256 |
68743514903f29ad7c94a2de8b0be0059e4a14f787e3bc4eabbee44dd2596bee
|
File details
Details for the file flaremodel-1.0.3-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 111.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8cd35c376850fee051bc98d424d5c4f36f61772ce2c3b6e6cc54ea6912c5db3
|
|
| MD5 |
acb55ec35c9afd7fb0e723310596e871
|
|
| BLAKE2b-256 |
787bdc433a17c37d5378b184bdb5ec805d70a348d908d5126ce2964268710728
|
File details
Details for the file flaremodel-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27791a61f130a559c6c81c1f6cc609b3834249fbeec3f2cba419501ace811776
|
|
| MD5 |
a4a79351a6d37ddf37c2b6ce93820498
|
|
| BLAKE2b-256 |
ec35f138028d584a4d495fc4738008d179a0e86b311403823f770fe47d54c5c7
|
File details
Details for the file flaremodel-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 105.2 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1357cdbcf35dcda3722180967dc2317717bdf357875914d3fc6bb964da2220f5
|
|
| MD5 |
455194f662daf1a779eb9bf3dded627d
|
|
| BLAKE2b-256 |
1abeaf01316c72fe3892e43c26d0c78e80d68135edb715a43ae4f5334f6954c8
|
File details
Details for the file flaremodel-1.0.3-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 109.9 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44d61c8397b2a9a1cbe1d00a398d9cda6601decef56ee0929bd8e33791f816b1
|
|
| MD5 |
e132d1304ecbcd6e08b51961e0b0d3cd
|
|
| BLAKE2b-256 |
71877943a0079c8061b4fc02a62b206489e6a2e81367f72f6c6d1dcfb0ae346d
|
File details
Details for the file flaremodel-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f49f1028f5237d1be32c114da3665d3f955660f70ff0b052604a069aa96a029
|
|
| MD5 |
8947c0968c847b352e33ad200c772948
|
|
| BLAKE2b-256 |
cdc4ed9f14329c87cc2c015317b06414389c9832e02c783a0f88debf3b702225
|
File details
Details for the file flaremodel-1.0.3-cp37-cp37m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: flaremodel-1.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 105.4 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1511c92d0a9f0ecbb77049f0dba7167160e7b0810b08f452994d156810a49eb
|
|
| MD5 |
fcfb2a69414e2047abfb2f2e99a4279f
|
|
| BLAKE2b-256 |
d8f3313419b18ea52a7d4ff643c66eaaacebcdf82ef462095f069b71199b5217
|