FortranTracer¶
-
class
pfsspy.tracing.
FortranTracer
(max_steps=1000, step_size=0.01)¶ Bases:
pfsspy.tracing.Tracer
Tracer using Fortran code.
- Parameters
Notes
Because the stream tracing is done in spherical coordinates, there is a singularity at the poles (ie. \(s = \pm 1\)), which means seeds placed directly on the poles will not go anywhere.
Methods Summary
trace
(seeds, output)- param seeds
Coordinaes of the magnetic field seed points.
vector_grid
(output)Create a
streamtracer.VectorGrid
object from anOutput
.Methods Documentation
-
trace
(seeds, output)¶ - Parameters
seeds (astropy.coordinates.SkyCoord) – Coordinaes of the magnetic field seed points.
output (pfsspy.Output) – pfss output.
- Returns
streamlines – Traced field lines.
- Return type
-
static
vector_grid
(output)¶ Create a
streamtracer.VectorGrid
object from anOutput
.