Plasma3D
- class plasmapy.plasma.sources.plasma3d.Plasma3D(domain_x, domain_y, domain_z, **kwargs)[source]
Bases:
GenericPlasma
Core class for describing and calculating plasma parameters with spatial dimensions.
- Parameters:
domain_x (
Quantity
) – 1D array of x-coordinates for the plasma domain. Must have units convertible to length.domain_y (
Quantity
) – 1D array of y-coordinates for the plasma domain. Must have units convertible to length.domain_z (
Quantity
) – 1D array of z-coordinates for the plasma domain. Must have units convertible to length.**kwargs – Any keyword accepted by
GenericPlasma
Attributes Summary
(
Quantity
) (x, y, z) array of the Alfvén speed at every point in the domain.(
Quantity
) (x, y, z) array of mass density at every point in the domain.(
tuple
) Shape of the plasma domain.(
Quantity
) (3, x, y, z) array of the magnetic field vector at every point in the domain.Total field strength.
(
Quantity
) (3, x, y, z) array containing the values of each coordinate at every point in the domain.(
Quantity
) (3, x, y, z) array of the magnetic field vector at every point in the domain.Total field strength.
(
Quantity
) (3, x, y, z) array of the momentum vector at every point in the domain.(
Quantity
) (x, y, z) array of pressure at every point in the domain.(
Quantity
) (3, x, y, z) array of the fluid velocity vector at every point in the domain.(
Quantity
) x-coordinates within the plasma domain.(
Quantity
) y-coordinates within the plasma domain.(
Quantity
) z-coordinates 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: MagnetoStatics,
- average_ionization()
- electron_density()
- electron_temperature()
- ion_density()
- ion_temperature()