Modules and Libraries
Nexus provides a couple of modules that add some basic functionalities and some libraries with predefined object definitions.
Modules
constants
Module with mathematical constants (
nx.constants.inf
, …), physical constants, like electron mass, speed of light, and so on, e.g.nx.constants.NuclearMagneton
. See constants.
conversions
Module with functions to convert various properties into different units, e.g.
nx.conversions.VelocityToGamma()
ornx.conversions.WtToAt()
. See conversions.
data
Module with functions to load and manipulate typical data sets, e.g.
nx.data.load()
. See data and Data processing tutorial section.
euler
Module with functions to work with Euler angles, e.g.
nx.euler.TransformationMatrixToZYZEuler()
. See euler.
theory
Module with functions for theoretical calculations, e.g.
nx.theory.RecoilEnergy()
. See theory.Added in version 1.0.3.
tools
Module with some useful functions. See tools.
Added in version 1.2.0.
Libraries
lib.moessbauer
Library with predefined
MoessbauerIsotopes
. The naming convention is ElementMassnumber e.g.nx.lib.moessbauer.Ir193
. See moessbauer.
lib.energy
Library with predefined transition energies. For nuclear transitions the naming convention is ElementMassnumber e.g.
nx.lib.energy.Eu151
. For atomic transition it is ElementTransitionname e.g.nx.lib.energy.MoKalpha
. See energy.
lib.material
Library with predefined
Materials
. For compounds and alloys the naming convention is Element1Relativeweight1… e.g.nx.lib.energy.Al2O3
. For isotope enriched materials with typically 95% enrichment the conventions is Material_enriched e.g.nx.lib.energy.Fe_enriched
. See material.
lib.distribution
Library with predefined
Distributions
. A variety of different distributions are included, e.g.nx.lib.distribution.Log()
. See distribution.
lib.residuals
Library with predefined
Residuals
. A couple of different residual implementations are included, e.g.nx.lib.residual.Sqrt()
. See residual.
Notebooks
Have a look to the API Reference for more information.