Skip to main content

A GPU-based simulation that tracks cosmic rays from any location on Earth.

Project description

gtracr - A GPU-accelerated Tracking simulation for Cosmic Rays

gtracr is a 3-D simulation package that simulates the trajectories of cosmic rays that arrive at a certain location on any location around the globe :earth_americas: . The package uses the IGRF (International Geomagnetic Reference Field) model as the Earth's magnetic field and simulate trajectories using a 4th-order Runge Kutta numerical integration method.

The main components as well as the user interface of the package is written in Python, so using this package is straighforward with minimal steps for evaluation of a trajectory. The core of the package (that is, the evaluation of the geomagnetic field and the numerical integration) is written in C++, however, and as such each trajectory is optimized to perform evaluations at around 1 ms :watch:.

The code can further produce geomagnetic cutoff rigidities that either validates or invalidates a cosmic ray based on its trajectory, which is a key feature necessary to distinguish between allowed and forbidden trajectories.

Note: The current version does not support GPU parallelization. This will be done in future versions, check the CHANGELOG for more details.

Dependencies

  • Python 3 and above
  • NumPy
  • SciPy
  • datetime (for obtaining the current date)
  • tqdm

All such dependencies will be installed with the package.

Optional requirements

These packages are required to observe plots and test different trajectory cases:

  • matplotlib, plotly for plots
  • pytest, pytest-benchmark for testing

Documentation

Check out the documentation for more details on installing the package as well as instructions to start using this package with detailed examples.

Copyright and License

This project is under the BSD 3-Clause License. See LICENSE for more details.

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

gtracr-0.7.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distributions

gtracr-0.7.0-cp38-cp38-win_amd64.whl (175.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

gtracr-0.7.0-cp38-cp38-win32.whl (162.7 kB view details)

Uploaded CPython 3.8 Windows x86

gtracr-0.7.0-cp38-cp38-manylinux2010_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

gtracr-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl (190.4 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

gtracr-0.7.0-cp37-cp37m-win_amd64.whl (176.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

gtracr-0.7.0-cp37-cp37m-win32.whl (163.3 kB view details)

Uploaded CPython 3.7m Windows x86

gtracr-0.7.0-cp37-cp37m-manylinux2010_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

gtracr-0.7.0-cp37-cp37m-macosx_10_9_x86_64.whl (189.0 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

gtracr-0.7.0-cp36-cp36m-win_amd64.whl (176.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

gtracr-0.7.0-cp36-cp36m-win32.whl (163.3 kB view details)

Uploaded CPython 3.6m Windows x86

gtracr-0.7.0-cp36-cp36m-manylinux2010_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

gtracr-0.7.0-cp36-cp36m-macosx_10_9_x86_64.whl (189.0 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file gtracr-0.7.0.tar.gz.

File metadata

  • Download URL: gtracr-0.7.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0.tar.gz
Algorithm Hash digest
SHA256 34e5e3d670aa72116a070435fcd6c6419e193147e44beca1216dbfbb014c258e
MD5 0944ee4dda104e8c584969a55ae2b314
BLAKE2b-256 2a00d3697468583128eb55973e9497fbc6b601921005bb675adc84ac5513f1de

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 175.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f44c2bf1b2fd394657d22a270595ad57b6ca87a7d21a3e95b79c60c839c9e24a
MD5 7888691be1bc95e374c3035fbb8be7b7
BLAKE2b-256 79d353804abaa279f6ab27ecdb25e86fbc03c799a2070f1aac9e956918633487

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 162.7 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 2c6d0ef6095503a160fedcaf9f8894e740079a960aaf9e78a7ded5fbc89ecda9
MD5 220e24019269dd906ca26dd0a37d969b
BLAKE2b-256 2faeef75aefbc1b3c57b5ce554c31b295f00fe95a198d7052052c68fb3ee25be

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f3c7d1a6a20d7da7f7bd5fd8b38f9c21dd2c49b67b4cd1ed509add86ba9d10b6
MD5 31acb228a33cd31c9345c0acfef7f0d8
BLAKE2b-256 bdbed2ca544906ef17c59a96cdcf3df7b2e78fd6a0d14e4bd68a3047f1ba4f9c

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 190.4 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cb2bfe0b1a1c4465b8b3d0f760e7e5fec5c87117530824aeef92a3e64c21dc66
MD5 c0d973cb2ee0ce3955f4e3bb33b1170f
BLAKE2b-256 16bdebceadd60f9a895023b21a1455e2125b4b74052a2ced2f92691ba9ceb1d3

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 176.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 362e904b1f8942a931399c99d64cc6038c7148a159342e793753ff06fa992e2b
MD5 312454ce1590202e6f524643a989508a
BLAKE2b-256 56a52134a5289430e749a70560c56de711b6cfa4d74fbbceef5a009d58256a74

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 163.3 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d62e6e30a6abd050e2971f9927ecdda4b8b683500f82e9517f2b51815cce0f5c
MD5 a8b674a1b2bee9e81d06be1ac08cada4
BLAKE2b-256 66a129d407c1b6ab3f6288c03fa538022961014d2b9395f618e5cd92d51df4af

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d019e87f1913f32455f8faa0718643a363763070e55fa7b336e70e2a5b7f3a4e
MD5 83c8a28bd9c081f03f7a2422eb10927f
BLAKE2b-256 1f1f238980a2186aa3a2d295ddcc6edfcd8ab6c0f7e983442a9a2789b6caeb6f

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 189.0 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 47c3f4722f4613430270fbaaedfbbe4907b423e212851e5a46570c1065c2da1d
MD5 602978643bddb4236faa6331e75c8408
BLAKE2b-256 fad3b221c063243e123754ad3cb745737e82965239e4a324a76029abf8b83fa7

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 176.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a16ffa62f5dcd49e66a2dab786367505d0791a07304d39c3364c804bc44b9a3c
MD5 3ef90c62a0ae3576c0416ecf85902b90
BLAKE2b-256 3bd815c9c274117a4c89af57ffbc7ce3fa6a29ecd2fccaaecc576f03676b46e0

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 163.3 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 8b99057f32e80805e1422aa765bf5a5256e642ff622b32b662f461c862ccd79e
MD5 dc12d31f5e21fcd8cf9f21e092ea9700
BLAKE2b-256 5162fe7bb3c7a0457bba4f8b59982d44787a69a5acb897fe3cb2b181dd5f0b58

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1a151b4d3a9ec1d4a8684ab24e374979f6306b07481c8680b82dea434d643ca6
MD5 3a5d9854a5bc0de95ceab49f83830f9f
BLAKE2b-256 7998e7b3b9f915612f3a94fdcd798b2b2fe65376afb4b7597e40803e656da848

See more details on using hashes here.

File details

Details for the file gtracr-0.7.0-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gtracr-0.7.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 189.0 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for gtracr-0.7.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4fc368cbc0079206b0601d14daa038491075c447e74fbf10d93ba92cbbaaf0fb
MD5 234b0552a033c719aea2303a12ee605c
BLAKE2b-256 4e4fc79c59c29d22bef855015eeff1468337855c8cb01333dd3735a6c877bbbe

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