Tracer¶
-
class
pfsspy.tracing.Tracer¶ Bases:
abc.ABCAbstract base class for a streamline tracer.
Methods Summary
Convert cartesian coordinate outputted by a tracer to a
FieldLineobject.coords_to_xyz(seeds, output)Given a set of astropy sky coordinates, transoform them to cartesian x, y, z coordinates.
trace(seeds, output)- param seeds
Coordinaes of the magnetic field seed points.
validate_seeds(seeds)Check that seeds has the right shape and is the correct type.
Methods Documentation
-
static
cartesian_to_coordinate()¶ Convert cartesian coordinate outputted by a tracer to a
FieldLineobject.
-
static
coords_to_xyz(seeds, output)¶ Given a set of astropy sky coordinates, transoform them to cartesian x, y, z coordinates.
- Parameters
seeds (astropy.coordinates.SkyCoord) –
output (pfsspy.Output) –
-
abstract
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
validate_seeds(seeds)¶ Check that seeds has the right shape and is the correct type.