Plasma3D

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

Bases: object

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

x

astropy.units.Quantity – x-coordinates within the plasma domain. Equal to the domain_x input parameter.

y

astropy.units.Quantity – y-coordinates within the plasma domain. Equal to the domain_y input parameter.

z

astropy.units.Quantity – z-coordinates within the plasma domain. Equal to the domain_z input parameter.

grid

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

domain_shape

tuple – Shape of the plasma domain.

density

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

momentum

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

pressure

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

magnetic_field

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

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

Attributes Documentation

alfven_speed
electric_field_strength
magnetic_field_strength
velocity