Atomion
Atomion
Fonctions membres publiques | Attributs publics | Attributs publics statiques | Liste de tous les membres
Référence de la classe atomion.objets.ion.IonMonoAtomique
Graphe d'héritage de atomion.objets.ion.IonMonoAtomique:
atomion.objets.ion.Ion

Fonctions membres publiques

def __new__ (cls, *args, **kwargs)
 
None __init__ (self, Union[int, str, Atome] valeur, *args, Optional[int] neutron=None)
 
Union[Ion, IonPolyAtomique__add__ (self, Union[Proton, Neutron, IonMonoAtomique] obj)
 
Union[Ion, IonPolyAtomique__iadd__ (self, Union[Proton, Neutron, IonMonoAtomique] obj)
 
Ion __sub__ (self, Union[Proton, Neutron] obj)
 
Ion __isub__ (self, Union[Proton, Neutron] obj)
 
str __str__ (self)
 
def __repr__ (self)
 
bool __eq__ (self, Any obj)
 
def notation (self)
 
def notation_symbole (self, *args, bool A=True, bool Z=True)
 

Attributs publics

 neutron
 
 electron
 
 charge
 
 diff
 
 masse
 
 nucleon
 
 configuration
 

Attributs publics statiques

 notation_couche = utile.notation_couche
 
 notation_configuration = utile.notation_configuration
 

Description détaillée

Objet reprèsentant un ion monoatomique.

Documentation des constructeurs et destructeur

◆ __init__()

None atomion.objets.ion.IonMonoAtomique.__init__ (   self,
Union[int, str, Atome]  valeur,
args,
Optional[int]   neutron = None 
)
Args:
    valeur: Si Atome, 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 IonMonoatomique, illogique de convertir un Ion en Ion; si int, aucun élément n'a ce nombre de proton; si str, aucun élément n'a ce symbole.

Documentation des fonctions membres

◆ notation()

def atomion.objets.ion.IonMonoAtomique.notation (   self)
Renvoie la notation de l'ion.

◆ notation_symbole()

def atomion.objets.ion.IonMonoAtomique.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 :