Electron configuration
Project description
Table of Contents
electronconfig
This package is used to find the electron configuration of an element. It is also used to do different operations on the electron configuration of an element.
Installation
To install this package, run the following command in the terminal:
pip install electronconfig
For developer installation, run the following command in the terminal:
git clone https://github.com/jako4295/electronconfig
pip install -e electronconfig
Usage
To use this package, run the following command in the terminal:
import electronconfig as ec
ec_obj = ec.ElectronConfig()
This will create an object of the ElectronConfig class. This object can be used to find the electron configuration of an element. All electron configuations are saved as attributes to the ec_obj
object. For example, ec_obj.ec1
gives the electron configuration of hydrogen.
The following code can be used to remove electrons from a given element:
ec_obj.remove_electrons(82, 54)
This will remove 54 electrons from the element with atomic number 82 (lead). To find the principle quantum number of outermost projectile electron ($n_0$) of an element, one can either look at the string returned from the code above or run the following code:
ec_obj.n_0(82, 54)
This will return the principle quantum number of the outermost projectile electron of lead.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file electronconfig-0.1.0.tar.gz
.
File metadata
- Download URL: electronconfig-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5cc5999aa2b9415327d3692e35d2b172059f034d1ba0180f6785bbb11e2ff4f |
|
MD5 | 264b83e58d0f4ce43ed5cf1cb6bdb543 |
|
BLAKE2b-256 | 74492682cf9b10023e977f6c7140db3f1e15fc29ccdc4ea5d71fd79721b646e5 |
File details
Details for the file electronconfig-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: electronconfig-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd61a846004457b8a4c2b15b34705f69a7967290554a4b0c8885a96aaa98df40 |
|
MD5 | da50817c0fc7f0e1cc228b39055cc484 |
|
BLAKE2b-256 | 8f9979cbb03d66e2d1a9be4692f5f5819ccb4f99e1ec214d392a6ddb973cc094 |