Plasma3D

class plasmapy.classes.sources.Plasma3D(domain_x, domain_y, domain_z)

Bases: plasmapy.classes.GenericPlasma

Core class for describing and calculating plasma parameters with spatial dimensions.

x

x-coordinates within the plasma domain. Equal to the domain_x input parameter.

Type

astropy.units.Quantity

y

y-coordinates within the plasma domain. Equal to the domain_y input parameter.

Type

astropy.units.Quantity

z

z-coordinates within the plasma domain. Equal to the domain_z input parameter.

Type

astropy.units.Quantity

grid

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

Type

astropy.units.Quantity

domain_shape

Shape of the plasma domain.

Type

tuple

density

(x, y, z) array of mass density at every point in the domain.

Type

astropy.units.Quantity

momentum

(3, x, y, z) array of the momentum vector at every point in the domain.

Type

astropy.units.Quantity

pressure

(x, y, z) array of pressure at every point in the domain.

Type

astropy.units.Quantity

magnetic_field

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

Type

astropy.units.Quantity

Parameters
  • domain_x (astropy.units.Quantity) – 1D array of x-coordinates for the plasma domain. Must have units convertable to length.

  • domain_y (astropy.units.Quantity) – 1D array of y-coordinates for the plasma domain. Must have units convertable to length.

  • domain_z (astropy.units.Quantity) – 1D array of z-coordinates for the plasma domain. Must have units convertable to length.

Attributes Summary

alfven_speed

electric_field_strength

magnetic_field_strength

velocity

Methods Summary

add_magnetostatic(*mstats)

is_datasource_for(**kwargs)

Attributes Documentation

alfven_speed
electric_field_strength
magnetic_field_strength
velocity

Methods Documentation

add_magnetostatic(*mstats)
classmethod is_datasource_for(**kwargs)