Input¶
-
class
pfsspy.
Input
(br, nr, rss)¶ 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: - br : 2D 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.
- nr : int
Number of cells in the radial direction to calculate the PFSS solution on.
- rss : float
Radius of the source surface, as a fraction of the solar radius.
Methods Summary
plot_input
([ax])Plot a 2D image of the magnetic field boundary condition. Methods Documentation
-
plot_input
(ax=None)¶ Plot a 2D image of the magnetic field boundary condition.
Parameters: - ax : Axes
Axes to plot to. If
None
, creates a new figure.
- br : 2D array,