Input

class pfsspy.Input(br, nr, rss, dtime=None)

Bases: object

Input to PFSS modelling.

Warning

The input must be on a regularly spaced grid in \(\phi\) and \(s = \cos (\theta)\). See pfsspy.coords for more information on the coordinate system.

Parameters
br2D array, sunpy.map.Map

Boundary condition of radial magnetic field at the inner surface. If a SunPy map is automatically extracted as map.data with no processing.

nrint

Number of cells in the radial direction to calculate the PFSS solution on.

rssfloat

Radius of the source surface, as a fraction of the solar radius.

dtimedatetime, optional

Datetime at which the input map was measured. If given it is attached to the output and any field lines traced from the output.

Methods Summary

plot_input(self[, ax])

Plot a 2D image of the magnetic field boundary condition.

Methods Documentation

plot_input(self, ax=None, **kwargs)

Plot a 2D image of the magnetic field boundary condition.

Parameters
axAxes

Axes to plot to. If None, creates a new figure.