A Python wrapper for N A Tsyganenko’s field-line tracing routines.
Project description
tsyganenko
A Python wrapper for N. A. Tsyganenko’s field-line tracing routines.
Citation
When using this software, please cite the Zenodo record as well as citing the relevant papers.
Copyright
Geopack and the other Fortran code in this repository are developed by N A Tsyganenko et al. and licenced under the GPL v3 or later.
The Python wrappers were originally written by Sebastien de Larquier in 2012. They are now maintained by John C Coxon.
Small edits have been made to Geopack-2008.for to allow for f2py compilation. Code in this repository other than the
original Fortran is licenced under the MIT licence.
Funding
John C Coxon was supported during this work by Science and Technology Facilities Council (STFC) Consolidated Grants ST/R000719/1 and ST/V000942/1, and Ernest Rutherford Fellowship ST/V004883/1.
Installation
pip install tsyganenko
pytest tests/test.py
Please note that at this time, Windows is not well-supported by this package; if you would like to help resolve this, please check out issue #15.
Tests take around 1 hour to run, so don’t be alarmed if you see this behaviour on your machine.
The tests are run against the csv files in the repository which were created on an Apple Silicon (M1) Mac. Compiling
the package on other machines leads to disparities which reflect the change in underlying architecture rather than
reflecting changes in code. As such, by default, tests.py is extremely permissive; it will test to a relative accuracy
of 0.5 or an absolute accuracy of 10.0. If you want to run tests with the pytest defaults, run
pytest tests/test_exact.py, and expect a large number of tests to fail unless you are running on an M1 chip.
Usage
To use this module, simply follow the example provided in the Trace object docstring.
from tsyganenko.trace import Trace
help(Trace)
Alternatively, there are example notebooks provided which can be used to explore what this module can do:
cd notebooks
jupyter notebook
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 tsyganenko-2020.2.3.tar.gz.
File metadata
- Download URL: tsyganenko-2020.2.3.tar.gz
- Upload date:
- Size: 407.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90d6a1bd0e34d5dbfebdb80070620573b8ef47192a77e8479cac7802f5116f86
|
|
| MD5 |
eca7c3c9991104e6483e8c61b748e803
|
|
| BLAKE2b-256 |
8672e03e2ec67817e14661d36c96e390e921f868c071d638a431533a4d8ab410
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3.tar.gz:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3.tar.gz -
Subject digest:
90d6a1bd0e34d5dbfebdb80070620573b8ef47192a77e8479cac7802f5116f86 - Sigstore transparency entry: 268746584
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsyganenko-2020.2.3-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tsyganenko-2020.2.3-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e36ade6e3b986d451f6e5871c66bd4eb4d5199d0f1bc30ef07ff221bac15fde
|
|
| MD5 |
b7cf949dfa59833bc181a92831ed44a6
|
|
| BLAKE2b-256 |
730aaf79ed47e97ff4437b12396b194e021893304233cfe15df6573d26764c8e
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3-cp313-cp313-musllinux_1_2_x86_64.whl:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3-cp313-cp313-musllinux_1_2_x86_64.whl -
Subject digest:
3e36ade6e3b986d451f6e5871c66bd4eb4d5199d0f1bc30ef07ff221bac15fde - Sigstore transparency entry: 268746586
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsyganenko-2020.2.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: tsyganenko-2020.2.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c5056d40cf2cde22a025684e20ff934c8cd734e16e3b9672ed17205de0959dd
|
|
| MD5 |
d855ad19824640c69ef4bbc04c5966ff
|
|
| BLAKE2b-256 |
44e8f2df5fc25fd6ceca2457066a3b2eb466741954397e2325475b974512f632
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
4c5056d40cf2cde22a025684e20ff934c8cd734e16e3b9672ed17205de0959dd - Sigstore transparency entry: 268746594
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsyganenko-2020.2.3-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: tsyganenko-2020.2.3-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 866.4 kB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2008c05f958e58abfc22cf62e25efa8e178baf13210a4bc45be5f4141da11a8
|
|
| MD5 |
893337bec3a17a81e224ddd1262c6878
|
|
| BLAKE2b-256 |
48f3f08e78c3f492d9ef8c836b589c4388d307384444daf1b9b0bfe59984b574
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3-cp313-cp313-macosx_14_0_arm64.whl:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3-cp313-cp313-macosx_14_0_arm64.whl -
Subject digest:
d2008c05f958e58abfc22cf62e25efa8e178baf13210a4bc45be5f4141da11a8 - Sigstore transparency entry: 268746589
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsyganenko-2020.2.3-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tsyganenko-2020.2.3-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6aca3aca69a90f33d34c79b31287aef510c057295d4cc37a5d7538b79276f95
|
|
| MD5 |
9ebe64d1421d70fab699650d6c0968db
|
|
| BLAKE2b-256 |
9a35bff476822d0f7af032ebc4fdc61cc0b1a5742feb6c37640cd01fb79e60b5
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3-cp312-cp312-musllinux_1_2_x86_64.whl:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3-cp312-cp312-musllinux_1_2_x86_64.whl -
Subject digest:
a6aca3aca69a90f33d34c79b31287aef510c057295d4cc37a5d7538b79276f95 - Sigstore transparency entry: 268746592
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsyganenko-2020.2.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: tsyganenko-2020.2.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f9f425c68e8acb5b00c1f28b8e82cb7e2fd59e47ad6e14cf40a02e229c645f
|
|
| MD5 |
5507084da71a290b99f57e74fa310970
|
|
| BLAKE2b-256 |
366cca6c9da8b1b02795056c5be96a2fe0b5619efc63a287a66aae6cf42face4
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
67f9f425c68e8acb5b00c1f28b8e82cb7e2fd59e47ad6e14cf40a02e229c645f - Sigstore transparency entry: 268746588
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tsyganenko-2020.2.3-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: tsyganenko-2020.2.3-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 866.4 kB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f3f71a5b5245c3dbbaf05e4fed4103ee5a809edbb17fa14add6b9e879384572
|
|
| MD5 |
25032ad85a7b4f90951e2127331cae72
|
|
| BLAKE2b-256 |
f8f6d9ed32efd515f8200da81695cce1a0b827ff9d9e2a8bf783feddd02e0f74
|
Provenance
The following attestation bundles were made for tsyganenko-2020.2.3-cp312-cp312-macosx_14_0_arm64.whl:
Publisher:
pypi.yaml on johncoxon/tsyganenko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsyganenko-2020.2.3-cp312-cp312-macosx_14_0_arm64.whl -
Subject digest:
8f3f71a5b5245c3dbbaf05e4fed4103ee5a809edbb17fa14add6b9e879384572 - Sigstore transparency entry: 268746587
- Sigstore integration time:
-
Permalink:
johncoxon/tsyganenko@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Branch / Tag:
refs/tags/v2020.2.3 - Owner: https://github.com/johncoxon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@c3116e3a45da260eab2f24ae83d8e568f549fe52 -
Trigger Event:
release
-
Statement type: