Python wrapper for TsyganenkoModels.jl - access Tsyganenko magnetic field models via Julia
Project description
TsyganenkoModels
Python wrapper for TsyganenkoModels.jl - evaluate Tsyganenko external magnetic field models from Python.
Installation
pip install tsyganenkomodels-jl
The Julia package installs automatically on first use.
Usage
import tsyganenkomodels as tm
import datetime
# Compute the dipole tilt angle (radians)
ps = tm.dipole_tilt(datetime.datetime(2001, 1, 1, 2, 3, 4))
# Instantiate a model and evaluate GSM field (nT)
model = tm.T96(pdyn=2.0, dst=-87.0, byimf=2.0, bzimf=-5.0)
b = model([-5.1, 0.3, 2.8], ps)
API
Available constructors/functions mirror the Julia package:
T89(iopt)T96(pdyn, dst, byimf, bzimf)T01(pdyn, dst, byimf, bzimf, g1=0.0, g2=0.0)TS04(pdyn, dst, byimf, bzimf, g1, g2, g3, w1, w2, w3, w4, w5, w6)t89,t96,t01,ts04(functional wrappers)dipole_tilt(t)
See the TsyganenkoModels.jl documentation for full details.
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 Distribution
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 tsyganenkomodels_jl-0.1.0.tar.gz.
File metadata
- Download URL: tsyganenkomodels_jl-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39ce133b20dc13e0f2f1c48348197738b96f1ebb7615c4a696d66d0a39698f52
|
|
| MD5 |
c380f439b7fc42feef0aa72366520490
|
|
| BLAKE2b-256 |
7c2a04db434976fc11698893309e31473c8433866ac509defd14a9a3bab69874
|
File details
Details for the file tsyganenkomodels_jl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tsyganenkomodels_jl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccaf6c332ed4da46eaaa06aa004fde08b70be37dbccc12842504fcdbe87bc3d5
|
|
| MD5 |
b8870a4373dda4706d1b600cd59ac00d
|
|
| BLAKE2b-256 |
68d5b75e34bc54db1c618a1ee9184a4be4cdba3cb02f30a74a2b7110d6c23623
|