Plasma3D¶

class
plasmapy.plasma.sources.plasma3d.
Plasma3D
(domain_x, domain_y, domain_z, **kwargs)¶ Bases:
plasmapy.plasma.plasma_base.GenericPlasma
Core class for describing and calculating plasma parameters with spatial dimensions.
Parameters:  domain_x (
Quantity
) – 1D array of xcoordinates for the plasma domain. Must have units convertible to length.  domain_y (
Quantity
) – 1D array of ycoordinates for the plasma domain. Must have units convertible to length.  domain_z (
Quantity
) – 1D array of zcoordinates for the plasma domain. Must have units convertible to length.  **kwargs – Any keyword accepted by
GenericPlasma
Attributes Summary
alfven_speed
( Quantity
) (x, y, z) array of the Alfvén speed at every point in the domain.density
( Quantity
) (x, y, z) array of mass density at every point in the domain.domain_shape
( tuple
) Shape of the plasma domain.electric_field
( Quantity
) (3, x, y, z) array of the magnetic field vector at every point in the domain.electric_field_strength
Total field strength. grid
( Quantity
) (3, x, y, z) array containing the values of each coordinate at every point in the domain.magnetic_field
( Quantity
) (3, x, y, z) array of the magnetic field vector at every point in the domain.magnetic_field_strength
Total field strength. momentum
( Quantity
) (3, x, y, z) array of the momentum vector at every point in the domain.pressure
( Quantity
) (x, y, z) array of pressure at every point in the domain.velocity
( Quantity
) (3, x, y, z) array of the fluid velocity vector at every point in the domain.x
( Quantity
) xcoordinates within the plasma domain.y
( Quantity
) ycoordinates within the plasma domain.z
( Quantity
) zcoordinates within the plasma domain.Methods Summary
add_magnetostatic
(*mstats)is_datasource_for
(**kwargs)Attributes Documentation

electric_field
¶ (
Quantity
) (3, x, y, z) array of the magnetic field vector at every point in the domain.

electric_field_strength
¶ Total field strength.
\[\sqrt{ \sum{ E^2 }}\]

grid
¶ (
Quantity
) (3, x, y, z) array containing the values of each coordinate at every point in the domain.

magnetic_field
¶ (
Quantity
) (3, x, y, z) array of the magnetic field vector at every point in the domain.

magnetic_field_strength
¶ Total field strength.
\[\sqrt{ \sum{ B^2 }}\]
Methods Documentation

add_magnetostatic
(*mstats)¶

classmethod
is_datasource_for
(**kwargs)¶
 domain_x (