InfiniteStraightWire¶
-
class
plasmapy.formulary.magnetostatics.
InfiniteStraightWire
(direction, p0: Unit("m"), current: Unit("A"))¶ Bases:
plasmapy.formulary.magnetostatics.Wire
Infinite straight wire class.
Parameters: - direction – three-dimensional direction vector of the wire, also the positive current direction
- p0 (
astropy.units.Quantity
) – one point on the wire - current (
astropy.units.Quantity
) – electric current
Methods Summary
magnetic_field
(p)Calculate magnetic field generated by this wire at position p
Methods Documentation
-
magnetic_field
(p) -> Unit("T")¶ Calculate magnetic field generated by this wire at position
p
Parameters: p ( astropy.units.Quantity
) – three-dimensional position vectorReturns: B – magnetic field at the specified positon Return type: astropy.units.Quantity
Notes