aim2dat.utils.units
¶
Module containing units and unit conversions.
Module Contents¶
Classes¶
Energy units based on the ase library. eV is set to |
|
Frequency units based on the ase library. |
|
Length units based on the ase library. Angstrom is set to |
|
Convert units used in spectroscopy. |
|
Wavevector units based on the ase library. Angstrom-1 is set to |
Attributes¶
- class aim2dat.utils.units.Energy[source]¶
Bases:
_BaseQuantity
Energy units based on the ase library. eV is set to
1.0
.Overview
¶ List of all available units.
¶ get_unit
(unit)Return the value of the unit.
- property available_units¶
List of all available units.
- class aim2dat.utils.units.Frequency[source]¶
Bases:
_BaseQuantity
Frequency units based on the ase library.
Overview
¶ List of all available units.
¶ get_unit
(unit)Return the value of the unit.
- property available_units¶
List of all available units.
- class aim2dat.utils.units.Length[source]¶
Bases:
_BaseQuantity
Length units based on the ase library. Angstrom is set to
1.0
.Overview
¶ List of all available units.
¶ get_unit
(unit)Return the value of the unit.
- property available_units¶
List of all available units.
- class aim2dat.utils.units.UnitConverter[source]¶
Bases:
_BaseUnitConverter
Convert units used in spectroscopy.
Overview
¶ convert_units
(value, unit_1, unit_2)class Convert one unit into another.
- available_units¶
- plot_labels¶
- class aim2dat.utils.units.Wavevector[source]¶
Bases:
_BaseQuantity
Wavevector units based on the ase library. Angstrom-1 is set to
1.0
.Overview
¶ List of all available units.
¶ get_unit
(unit)Return the value of the unit.
- property available_units¶
List of all available units.
- aim2dat.utils.units.energy¶
- aim2dat.utils.units.frequency¶
- aim2dat.utils.units.length¶
- aim2dat.utils.units.wavevector¶