Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 285: Add ionization energy data from NIST (#2657)
* Added ionization energy data from NIST * Remove extra newline to align with styling * Add citation entry * Add conversion to Joules * Add changelog entry * Add missing end of codeblock * Fix markdown formatting * Update 2657.feature.rst * Added ionization_energy to Particles documentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add tests for ionization energy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix failing ruff checks * Fix failing ruff checks * Fix failing ruff checks * Add documentation * Add full module path to raised exception * Update tests/particles/test_particle_class.py Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update src/plasmapy/particles/particle_class.py Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update changelog/2657.feature.rst Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update changelog/2657.feature.rst Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update changelog/2657.feature.rst Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Add ionization energy of ions * Update changelog/2657.feature.rst Co-authored-by: Nick Murphy <namurphy@cfa.harvard.edu> * Handle case where element was initialized with a zero charge * Provide information about where ionization energy data comes from * Fix issue where isotopes don't load ionization energy correctly * Change how pkgutil gets ionization energy data * Add additional ionization energy tests * Add utility script for dumping ionization energy data from NIST * Revert pkgutil format to match others, and fix copy paste error in comment * Try adding a type definition to obj hook * Update missing documentation and revert function type definiton * Add _ionization_energy to mypy.ini to align with _elements and _isotopes * Add __init__.py to tools * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Resolve ruff errors * Resolve ruff errors * Resolve ruff errors * Resolve mypy errors * Exclude tools from mypy * Exclude tools from mypy * Exclude tools from mypy * Exclude tools from mypy * Exclude tools from mypy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added ionization energy data from NIST * Remove extra newline to align with styling * Add conversion to Joules * Add changelog entry * Add missing end of codeblock * Fix markdown formatting * Update 2657.feature.rst * Added ionization_energy to Particles documentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add tests for ionization energy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix failing ruff checks * Fix failing ruff checks * Fix failing ruff checks * Add documentation * Add full module path to raised exception * Update tests/particles/test_particle_class.py Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update src/plasmapy/particles/particle_class.py Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update changelog/2657.feature.rst Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update changelog/2657.feature.rst Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Update changelog/2657.feature.rst Co-authored-by: Peter Heuer <pvheuer@gmail.com> * Add ionization energy of ions * Update changelog/2657.feature.rst Co-authored-by: Nick Murphy <namurphy@cfa.harvard.edu> * Handle case where element was initialized with a zero charge * Provide information about where ionization energy data comes from * Fix issue where isotopes don't load ionization energy correctly * Change how pkgutil gets ionization energy data * Add additional ionization energy tests * Add utility script for dumping ionization energy data from NIST * Revert pkgutil format to match others, and fix copy paste error in comment * Try adding a type definition to obj hook * Update missing documentation and revert function type definiton * Add _ionization_energy to mypy.ini to align with _elements and _isotopes * Add __init__.py to tools * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Resolve ruff errors * Resolve ruff errors * Resolve ruff errors * Resolve mypy errors * Exclude tools from mypy * Exclude tools from mypy * Exclude tools from mypy * Exclude tools from mypy * Exclude tools from mypy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add check for isotope ionization energy * Attempt to reduce complexity * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add docstring --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Peter Heuer <pvheuer@gmail.com> Co-authored-by: Nick Murphy <namurphy@cfa.harvard.edu>
- Loading branch information