Skip to main content

The Birkeland current model presented by Coxon et al. (2016), based on Milan (2013).

Project description

facer-model

PyPI badge Zenodo badge Tests badge

Field-Aligned Currents Estimated from Reconnection (FACER) is a Python implementation of the Birkeland current model presented by Coxon et al. (2016), based on Milan (2013). It is a simple mathematical model of the region 1 and 2 Birkeland current system intensities for differing dayside and nightside magnetic reconnection rates, consistent with the expanding/contracting polar cap paradigm of solar wind-magnetosphere-ionosphere coupling.

Citations

When using this software, please cite the Zenodo record as well as the following two papers:

Funding

John C Coxon was supported during this work by Science and Technology Facilities Council (STFC) Ernest Rutherford Fellowship ST/V004883/1.

Installation

To install and test the model, simply type:

pip install facer-model
pytest tests/test.py

Usage

A very basic instantiation of the model can be seen below. For more examples, check out the notebooks in the repository, which explicitly detail how to use the model to replicate the results from the two papers which define the model.

from facer import Model

dayside_reconnection_rate = 50       # in kV
nightside_reconnection_rate = 50     # in kV
solar_radio_flux = 80                # in SFU
time = datetime.datetime(2010, 1, 1)
hemisphere = "north"
polar_cap_flux = 0.5                 # in GWb

model = Model(dayside_reconnection_rate,
              nightside_reconnection_rate,
              solar_radio_flux,
              time,
              hemisphere,
              polar_cap_flux)

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

facer_model-1.0.9a0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

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

facer_model-1.0.9a0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file facer_model-1.0.9a0.tar.gz.

File metadata

  • Download URL: facer_model-1.0.9a0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for facer_model-1.0.9a0.tar.gz
Algorithm Hash digest
SHA256 6edc035f1237d6ceee0951241a624d5102af9c0b4fcda0fe8fe8039f15c825d9
MD5 4ea634be91938ee6d8c6578da08896a6
BLAKE2b-256 6d2f8b60b3dd726daee6925128e8a024d8912338305eb209f5cd0f989e83cf04

See more details on using hashes here.

Provenance

The following attestation bundles were made for facer_model-1.0.9a0.tar.gz:

Publisher: pypi.yaml on johncoxon/facer-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file facer_model-1.0.9a0-py3-none-any.whl.

File metadata

  • Download URL: facer_model-1.0.9a0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for facer_model-1.0.9a0-py3-none-any.whl
Algorithm Hash digest
SHA256 61e7d20f15d44dcfdbf0743ac690517aaf48b433203af0d07cb86424dc5c8cf5
MD5 2d75356c107f0ccd77314e0678d2a66f
BLAKE2b-256 f0df414aea9ed4eb02fa9250a74396d976a7c9b265dc9f730be987e3aeb9069e

See more details on using hashes here.

Provenance

The following attestation bundles were made for facer_model-1.0.9a0-py3-none-any.whl:

Publisher: pypi.yaml on johncoxon/facer-model

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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