Skip to main content

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


Download files

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

Source Distribution

flaremodel-1.0.3.tar.gz (6.5 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

flaremodel-1.0.3-cp39-cp39-win_amd64.whl (111.3 kB view details)

Uploaded CPython 3.9Windows x86-64

flaremodel-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

flaremodel-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl (103.7 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

flaremodel-1.0.3-cp38-cp38-win_amd64.whl (111.3 kB view details)

Uploaded CPython 3.8Windows x86-64

flaremodel-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

flaremodel-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl (105.2 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

flaremodel-1.0.3-cp37-cp37m-win_amd64.whl (109.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

flaremodel-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

flaremodel-1.0.3-cp37-cp37m-macosx_10_9_x86_64.whl (105.4 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

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

Hashes for flaremodel-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5c50cfb76cf40260d186d1e10c6e3df34e04e910e509272ca928ff6aefde5e6e
MD5 52e04acf4f35fbf6dac1b19d6c59b16a
BLAKE2b-256 9538b3a370fd0d935bcab6a292945b544ca64c9bbf8e995eef43ef0d508e8172

See more details on using hashes here.

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

Hashes for flaremodel-1.0.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 69089ea21ca0d33ed74347be1dd260f50b042e8b2c8a3505a956592c1a2d254b
MD5 37f4fabe9ed2c5e96b0175de256beec7
BLAKE2b-256 5453228aaeeca89722af5ae6453279751791f38a78fce8f19aa574c8c6dc866b

See more details on using hashes here.

File details

Details for the file flaremodel-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for flaremodel-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2590b9d060b077e56e58f6cb67049de9c31931acc1180da5cb8e93d27019ed0c
MD5 8f179e9546eba72265c67d9b52a0b09c
BLAKE2b-256 9655795ed63a68f245e944829a50a6f3c5612359101276802241b15da7425bb7

See more details on using hashes here.

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

Hashes for flaremodel-1.0.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d51dc492542cc57ece369c083b50f5871979aaddbd9c00f8c6607e72186e227a
MD5 ce5c4ee467845d1040fd2134aa12bfb8
BLAKE2b-256 68743514903f29ad7c94a2de8b0be0059e4a14f787e3bc4eabbee44dd2596bee

See more details on using hashes here.

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

Hashes for flaremodel-1.0.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e8cd35c376850fee051bc98d424d5c4f36f61772ce2c3b6e6cc54ea6912c5db3
MD5 acb55ec35c9afd7fb0e723310596e871
BLAKE2b-256 787bdc433a17c37d5378b184bdb5ec805d70a348d908d5126ce2964268710728

See more details on using hashes here.

File details

Details for the file flaremodel-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for flaremodel-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27791a61f130a559c6c81c1f6cc609b3834249fbeec3f2cba419501ace811776
MD5 a4a79351a6d37ddf37c2b6ce93820498
BLAKE2b-256 ec35f138028d584a4d495fc4738008d179a0e86b311403823f770fe47d54c5c7

See more details on using hashes here.

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

Hashes for flaremodel-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1357cdbcf35dcda3722180967dc2317717bdf357875914d3fc6bb964da2220f5
MD5 455194f662daf1a779eb9bf3dded627d
BLAKE2b-256 1abeaf01316c72fe3892e43c26d0c78e80d68135edb715a43ae4f5334f6954c8

See more details on using hashes here.

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

Hashes for flaremodel-1.0.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 44d61c8397b2a9a1cbe1d00a398d9cda6601decef56ee0929bd8e33791f816b1
MD5 e132d1304ecbcd6e08b51961e0b0d3cd
BLAKE2b-256 71877943a0079c8061b4fc02a62b206489e6a2e81367f72f6c6d1dcfb0ae346d

See more details on using hashes here.

File details

Details for the file flaremodel-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for flaremodel-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f49f1028f5237d1be32c114da3665d3f955660f70ff0b052604a069aa96a029
MD5 8947c0968c847b352e33ad200c772948
BLAKE2b-256 cdc4ed9f14329c87cc2c015317b06414389c9832e02c783a0f88debf3b702225

See more details on using hashes here.

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

Hashes for flaremodel-1.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b1511c92d0a9f0ecbb77049f0dba7167160e7b0810b08f452994d156810a49eb
MD5 fcfb2a69414e2047abfb2f2e99a4279f
BLAKE2b-256 d8f3313419b18ea52a7d4ff643c66eaaacebcdf82ef462095f069b71199b5217

See more details on using hashes here.

Supported by

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