InfiniteStraightWire

class plasmapy.formulary.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 (Quantity) – One point on the wire.

  • current (Quantity) – Electric current.

Methods Summary

magnetic_field(p)

Calculate magnetic field generated by this wire at position p

Methods Documentation

magnetic_field(p)

Calculate magnetic field generated by this wire at position p

Parameters

p (astropy.units.Quantity) – Three-dimensional position vector.

Returns

B – Magnetic field at the specified position.

Return type

astropy.units.Quantity

Notes