CircularWire

class plasmapy.physics.magnetostatics.CircularWire(normal, center: Unit("m"), radius: Unit("m"), current: Unit("A"), n=300)

Bases: plasmapy.physics.magnetostatics.Wire

Circular wire(coil) class

Parameters

Methods Summary

magnetic_field(p)

Calculate magnetic field generated by this wire at position p

to_GeneralWire()

Convert this Wire into a GeneralWire.

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 vector

Returns

B – magnetic field at the specified positon

Return type

astropy.units.Quantity

Notes

We use n points Gauss-Legendre quadrature to compute the integral. The default n is 300.

to_GeneralWire()

Convert this Wire into a GeneralWire.