Skip to main content

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.

Metadata

Release files for tsyganenkomodels-jl 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsyganenkomodels-jl 0.1.0
File Size Uploaded Provenance
tsyganenkomodels_jl-0.1.0.tar.gz 2.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tsyganenkomodels-jl 0.1.0
File Interpreter ABI Platform
tsyganenkomodels_jl-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / tsyganenkomodels_jl-0.1.0.tar.gz

Download URL tsyganenkomodels_jl-0.1.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
39ce133b20dc13e0f2f1c48348197738b96f1ebb7615c4a696d66d0a39698f52
BLAKE2b-256 checksum
How to use checksums
7c2a04db434976fc11698893309e31473c8433866ac509defd14a9a3bab69874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0

Release files / tsyganenkomodels_jl-0.1.0-py3-none-any.whl

Download URL tsyganenkomodels_jl-0.1.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccaf6c332ed4da46eaaa06aa004fde08b70be37dbccc12842504fcdbe87bc3d5
BLAKE2b-256 checksum
How to use checksums
68d5b75e34bc54db1c618a1ee9184a4be4cdba3cb02f30a74a2b7110d6c23623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.14.2 Darwin/23.0.0

Security for tsyganenkomodels-jl 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page