duat.data

Useful data for PIC simulations.

duat.data.critical_density(wavelength=800)[source]

Get the critical density for a laser with the given wavelength.

Parameters:wavelength – Laser wavelength (in nm)
Returns:(float) Critical density (particles/cm^3)
duat.data.density(material)[source]

Get a density (under certain ‘normal’ conditions) of a material (g/cm^3).

Data is taken from the periodictable package (public domain). The user should check if the returned density fits its application

Parameters:material (str or int) – Name of the material (e.g., ‘Al’ or ‘water’) or atomic number.
Returns:The density (g/cm^3).
duat.data.full_ionization_density(material, z=1)[source]

Get the full ionization density of a Z (e.g. “Al”) when z electrons per atom are ionized.

Parameters:
  • material (str or int) – Name of the material (e.g., ‘Al’ or ‘water’) or atomic number.
  • z (int) – Number of electrons ionized per atom (a global factor).
Returns:

(float) Full ionization density (particles/cm^3)

duat.data.molar_mass(material)[source]

Get the molar mass of a material (g/mol).

Data is taken from the periodictable package (public domain).

Parameters:material (str or int) – Name of the material (e.g., ‘Al’ or ‘water’) or atomic number
Returns:The molar mass (g/mol).