mapflpy

mapflpy#

A Python package for tracing magnetic fieldlines in spherical coordinates.

This package provides tools for tracing magnetic fieldlines in spherical coordinate systems, using PSI’s cross-compiled mapfl Fortran library. The following modules are intended to allow users a high-level interface to the underlying Fortran routines, as well as utilities for visualizing and analyzing the traced fieldlines.

Modules

data

Module for fetching HDF5 assets used through examples.

globals

Module defining custom types, enumerations, and constants for the mapflpy package.

scripts

Standalone functions for running mapflpy tracing routines.

tracer

Fieldline Tracing Interface for mapflpy (Single and Multiprocessing Modes)

utils

Utility functions for processing fieldline traces.