scinumtools.materials package
Submodules
scinumtools.materials.composite module
- class scinumtools.materials.composite.Component(proportion: int = 1)
Bases:
object
- expr: str
- proportion: float | int
- class scinumtools.materials.composite.Composite(solver: callable, component_class: callable, expr: str | dict, cols_components: dict, cols_composite: dict, natural: bool, norm_type: Norm)
Bases:
object
- add(expr: str, proportion: int = 1)
- cols_components: dict
- cols_composit: dict
- component_class: callable
- natural: bool
- print()
- print_components()
- print_composite(components: list | None = None)
- proportion_norm: float | int
scinumtools.materials.element module
- class scinumtools.materials.element.Element(expr: str, proportion: int = 1, natural: bool = True, **kwargs)
-
- N: float = None
- Z: float = None
- e: float = None
- element: str
- get_abundant(element: str, ionisation: int)
- get_isotope(element: str, isotope: int, ionisation: int)
- get_natural(element: str, ionisation: int)
- ionisation: int
- isotope: int
- natural: bool
- print()
scinumtools.materials.material module
scinumtools.materials.material_solver module
- class scinumtools.materials.material_solver.CustomOperatorAdd(expr: str | None = None)
Bases:
OperatorAdd
- symbol: str = ' + '
- class scinumtools.materials.material_solver.CustomOperatorMul(expr: str | None = None)
Bases:
OperatorMul
- symbol: str = ' * '
scinumtools.materials.matter module
scinumtools.materials.periodic_table module
scinumtools.materials.substance module
- class scinumtools.materials.substance.Substance(expr: str | dict | None = None, proportion: float = 1.0, natural: bool = True, **kwargs)
Bases:
Composite
,Component
,Matter
- atom(expr: str)
- data_components(quantity: bool = True)
- data_composite(components: list | None = None, quantity: bool = True)
scinumtools.materials.substance_solver module
- class scinumtools.materials.substance_solver.CustomOperatorAdd(expr: str | None = None)
Bases:
OperatorAdd
- symbol: str = ' + '
- class scinumtools.materials.substance_solver.CustomOperatorMul(expr: str | None = None)
Bases:
OperatorMul
- symbol: str = ' * '