|
| None | __init__ (self, Union[int, str, IonMonoAtomique] valeur, *args, Optional[int] neutron=None) |
| |
|
Union[Atome, Molecule, IonMonoAtomique] | __add__ (self, Union[Proton, Neutron, Electron, Atome] obj) |
| |
|
Union[Atome, Molecule, IonMonoAtomique] | __iadd__ (self, Union[Proton, Neutron, Electron, Atome] obj) |
| |
|
Union[Atome, IonMonoAtomique] | __sub__ (self, Union[Proton, Neutron, Electron] obj) |
| |
|
Union[Atome, IonMonoAtomique] | __isub__ (self, Union[Proton, Neutron, Electron] obj) |
| |
|
Molecule | __mul__ (self, int obj) |
| |
|
str | __str__ (self) |
| |
|
str | __repr__ (self) |
| |
|
int | __hash__ (self) |
| |
|
bool | __eq__ (self, Any obj) |
| |
| str | notation (self) |
| |
| str | notation_symbole (self, *args, bool A=True, bool Z=True) |
| |
|
|
| neutron |
| |
|
| electron |
| |
|
| masse |
| |
|
| nucleon |
| |
|
| configuration |
| |
|
|
| notation_couche = utile.notation_couche |
| |
|
| notation_configuration = utile.notation_configuration |
| |
Objet reprèsentant un atome.
◆ __init__()
| None atomion.objets.atome.Atome.__init__ |
( |
|
self, |
|
|
Union[int, str, IonMonoAtomique] |
valeur, |
|
|
* |
args, |
|
|
Optional[int] |
neutron = None |
|
) |
| |
Args:
valeur: Si IonMonoAtomique, convertit l'ion en atome; si int, équivaut au nombre de proton; si str, équivaut au symbole.
neutron: Définie le nombre de proton pour l'isotope.
Exceptions:
ValeurIncorrecte: Si Atome, illogique de convertir un Atome en Atome; si int, aucun élément n'a ce nombre de proton; si str, aucun élément n'a ce symbole.
◆ notation()
| str atomion.objets.atome.Atome.notation |
( |
|
self | ) |
|
Renvoie la notation de l'atome.
◆ notation_symbole()
| str atomion.objets.atome.Atome.notation_symbole |
( |
|
self, |
|
|
* |
args, |
|
|
bool |
A = True, |
|
|
bool |
Z = True |
|
) |
| |
Args:
A: Définie si il faut afficher le nombre de nucléon.
Z: Définie si il faut afficher le numéro atomatique.
La documentation de cette classe a été générée à partir du fichier suivant :