Skip to main content

Dealing with isotopic inventories.

Project description

Installation

To install this package it is best to use pip3.

In order to install this package type: pip3 install lib-kaasknak

Usage

In order to use the package import lib in your python editor of choice.

The commands that can be used are:

  • ElementZ(input) which gives the Z-value of the corresponding element.
  • ElementN(input) which gives the name of the element corresponding to this Z-value.
  • NatComp(input) which gives the isotopes in nature and their fractions.

Example

import lib
a=lib.ElementZ("Gd")
b,c=lib.NatComp("Gd")
print(a)
print(b)
print(c)
64
[152, 154, 155, 156, 157, 158, 160]
[0.002, 0.0218, 0.148, 0.2047, 0.1565, 0.2484, 0.2186]

Sidenote

If the element has no natural occuring isotopes it will return a list with one 0 in it. If the element only has traces of an isotope occuring in nature it will return the mass numbers of these traces. In both cases the fractions list will contain a single 0.

Data is gather from the wikipedia page for every individual element.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lib-elem-isotopes-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lib_elem_isotopes-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file lib-elem-isotopes-0.1.0.tar.gz.

File metadata

  • Download URL: lib-elem-isotopes-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for lib-elem-isotopes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4ec3c63b780efdfce1744b0a55b7f430c2b7a654c4fd4ebf4d263dee6b8f5b33
MD5 708a0d1ce34366e8df3b1f5cc0d781fb
BLAKE2b-256 a410f67559d7e9de1d7d4f42e253b1ffd042fa2f4ef4a8d10459d5e08ff68208

See more details on using hashes here.

File details

Details for the file lib_elem_isotopes-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lib_elem_isotopes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for lib_elem_isotopes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c24dde5e9d14f57b8e91838b6f520dc2a7785a79ac47136f7dc748fe99e6bd77
MD5 24f1e9123d0d1adb329078ea4d2079aa
BLAKE2b-256 96c48c08dee5e8a2a2a32ddc72d77f470c81742e3289459231b27a4b52be98e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page