Skip to content

Commit 115a178

Browse files
adapt names, ... ryd-numerov -> rydstate
1 parent 6293951 commit 115a178

53 files changed

Lines changed: 179 additions & 179 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
environment:
2121
name: pypi
22-
url: https://pypi.org/p/ryd-numerov
22+
url: https://pypi.org/p/rydstate
2323

2424
permissions:
2525
id-token: write

.github/workflows/python_wheel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
- name: Test wheel # TODO: replace this by using tox or nox
2626
run: |
2727
uv pip uninstall .
28-
uv pip install dist/ryd_numerov*.whl
28+
uv pip install dist/rydstate*.whl
2929
uv run --no-project pytest
3030
- name: Upload wheels
3131
uses: actions/upload-artifact@v5
3232
with:
3333
name: dist
34-
path: dist/ryd_numerov*
34+
path: dist/rydstate*
3535

3636
publish-to-testpypi:
3737
name: Publish to TestPyPI
@@ -42,7 +42,7 @@ jobs:
4242

4343
environment:
4444
name: testpypi
45-
url: https://test.pypi.org/p/ryd-numerov
45+
url: https://test.pypi.org/p/rydstate
4646

4747
permissions:
4848
id-token: write

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The ryd-numerov software is licensed under:
1+
The RydState software is licensed under:
22

33
SPDX-License-Identifier: LGPL-3.0-or-later
44

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
# Rydberg Numerov
1+
# RydState - A Rydberg State Calculator
22

33
[![PyPI Package][pypi-svg]][pypi-link]
44
[![License: LGPL v3][license-lgpl-svg]][license-lgpl-link]
55
[![CI Workflow][gh-workflow-svg]][gh-workflow-link]
66
[![Documentation][docs-svg]][docs-link]
77

8-
[pypi-svg]: https://img.shields.io/pypi/v/ryd-numerov.svg?style=flat
9-
[pypi-link]: https://pypi.org/project/ryd-numerov/
8+
[pypi-svg]: https://img.shields.io/pypi/v/rydstate.svg?style=flat
9+
[pypi-link]: https://pypi.org/project/rydstate/
1010
[license-lgpl-svg]: https://img.shields.io/badge/License-LGPL_v3-blue.svg?style=flat
1111
[license-lgpl-link]: https://www.gnu.org/licenses/lgpl-3.0.html
12-
[gh-workflow-svg]: https://github.com/pairinteraction/ryd-numerov/actions/workflows/python_wheel.yml/badge.svg
13-
[gh-workflow-link]: https://github.com/pairinteraction/ryd-numerov/actions/workflows/python_wheel.yml
14-
[docs-svg]: https://img.shields.io/badge/Documentation-rydnumerov-blue.svg?style=flat
15-
[docs-link]: https://www.pairinteraction.org/ryd-numerov/sphinx/html/
12+
[gh-workflow-svg]: https://github.com/pairinteraction/rydstate/actions/workflows/python_wheel.yml/badge.svg
13+
[gh-workflow-link]: https://github.com/pairinteraction/rydstate/actions/workflows/python_wheel.yml
14+
[docs-svg]: https://img.shields.io/badge/Documentation-rydstate-blue.svg?style=flat
15+
[docs-link]: https://www.pairinteraction.org/rydstate/sphinx/html/
1616

17-
The *Rydberg Numerov* software calculates properties of Rydberg states.
17+
The *RydState* software calculates properties of Rydberg states.
1818
We especially focus on the calculation of the radial wavefunction of Rydberg states via the Numerov method.
1919
The software can be installed via pip (requires Python >= 3.9):
2020

2121
```bash
22-
pip install ryd-numerov
22+
pip install rydstate
2323
```
2424

2525
To install the latest development version from github, use:
2626

2727
```bash
28-
pip install git+https://github.com/pairinteraction/ryd-numerov
28+
pip install git+https://github.com/pairinteraction/rydstate
2929
```
3030

3131

@@ -71,21 +71,21 @@ This package relies on quantum defects provided by the community. Consider citin
7171

7272
**User Guide**
7373

74-
- [Tutorials] - Examples of how to use the Rydberg Numerov library.
74+
- [Tutorials] - Examples of how to use the RydState library.
7575

76-
- [API Reference] - Documentation of classes and functions of the Rydberg Numerov Python library.
76+
- [API Reference] - Documentation of classes and functions of the RydState Python library.
7777

7878

79-
[Tutorials]: https://www.pairinteraction.org/ryd-numerov/sphinx/html/examples.html
80-
[API Reference]: https://www.pairinteraction.org/ryd-numerov/sphinx/html/modules.html
79+
[Tutorials]: https://www.pairinteraction.org/rydstate/sphinx/html/examples.html
80+
[API Reference]: https://www.pairinteraction.org/rydstate/sphinx/html/modules.html
8181

8282

8383
## Using custom quantum defects
84-
To use custom quantum defects (or quantum defects for a new species), you can simply create a subclass of `ryd_numerov.species.species_object.SpeciesObject` (e.g. `class CustomRubidium(SpeciesObject):`) with a custom species name (e.g. `name = "Custom_Rb"`).
85-
Then, similarly to `ryd_numerov.species.rubidium.py` you can define the quantum defects (and model potential parameters, ...) for your species.
86-
Finally, you can use the custom species by simply calling `ryd_numerov.RydbergStateAlkali("Custom_Rb", n=50, l=0, j=1/2, m=1/2)` (the code will look for all subclasses of `SpeciesObject` until it finds one with the species name "Custom_Rb").
84+
To use custom quantum defects (or quantum defects for a new species), you can simply create a subclass of `rydstate.species.species_object.SpeciesObject` (e.g. `class CustomRubidium(SpeciesObject):`) with a custom species name (e.g. `name = "Custom_Rb"`).
85+
Then, similarly to `rydstate.species.rubidium.py` you can define the quantum defects (and model potential parameters, ...) for your species.
86+
Finally, you can use the custom species by simply calling `rydstate.RydbergStateAlkali("Custom_Rb", n=50, l=0, j=1/2, m=1/2)` (the code will look for all subclasses of `SpeciesObject` until it finds one with the species name "Custom_Rb").
8787

8888

8989
## License
9090

91-
The ryd-numerov software is licensed under [LGPL v3][license-lgpl-link]. For more information, see [LICENSE.txt](https://github.com/pairinteraction/ryd-numerov/blob/master/LICENSE.txt).
91+
The rydstate software is licensed under [LGPL v3][license-lgpl-link]. For more information, see [LICENSE.txt](https://github.com/pairinteraction/rydstate/blob/master/LICENSE.txt).

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ clean:
2929
@$(SPHINXBUILD) -M clean $(ALLSPHINXOPTS)
3030

3131
livehtml:
32-
sphinx-autobuild -b html $(ALLSPHINXOPTS) --watch ../src/ryd_numerov/
32+
sphinx-autobuild -b html $(ALLSPHINXOPTS) --watch ../src/rydstate/

docs/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
display: none;
2424
}
2525
</style>
26-
<a href="https://github.com/pairinteraction/ryd-numerov" class="gitbutton">Explore<small>the GitHub repository</small></a>
26+
<a href="https://github.com/pairinteraction/rydstate" class="gitbutton">Explore<small>the GitHub repository</small></a>
2727
{% endblock %}

docs/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ruff: noqa: INP001
22

3-
import ryd_numerov
3+
import rydstate
44

55
# -- Project information -----------------------------------------------------
66

7-
project = "ryd-numerov"
8-
copyright = "2025, Rydberg Numerov Developers" # noqa: A001
9-
author = "Rydberg Numerov Developers"
7+
project = "RydState"
8+
copyright = "2025, RydState Developers" # noqa: A001
9+
author = "RydState Developers"
1010

11-
version = ryd_numerov.__version__ # The short X.Y version, use via |version|
11+
version = rydstate.__version__ # The short X.Y version, use via |version|
1212
release = version # The full version, including alpha/beta/rc tags, use via |release|
1313

1414
language = "en"

docs/examples/angular/angular_state.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
},
2323
{
2424
"cell_type": "code",
25-
"execution_count": 1,
25+
"execution_count": null,
2626
"id": "803cf823",
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
30-
"from ryd_numerov.angular import AngularKetFJ, AngularKetJJ, AngularKetLS"
30+
"from rydstate.angular import AngularKetFJ, AngularKetJJ, AngularKetLS"
3131
]
3232
},
3333
{
@@ -231,7 +231,7 @@
231231
],
232232
"metadata": {
233233
"kernelspec": {
234-
"display_name": "ryd-numerov",
234+
"display_name": "rydstate",
235235
"language": "python",
236236
"name": "python3"
237237
},

docs/examples/benchmark/benchmark_njit.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"\n",
1818
"import numpy as np\n",
1919
"\n",
20-
"from ryd_numerov.rydberg_state import RydbergStateAlkali\n",
20+
"from rydstate.rydberg_state import RydbergStateAlkali\n",
2121
"\n",
2222
"test_cases: list[tuple[str, int, int, bool]] = [\n",
2323
" # species, n, l, use_njit\n",
@@ -115,7 +115,7 @@
115115
],
116116
"metadata": {
117117
"kernelspec": {
118-
"display_name": "ryd-numerov",
118+
"display_name": "rydstate",
119119
"language": "python",
120120
"name": "python3"
121121
},

docs/examples/comparisons/arc_fixed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if TYPE_CHECKING:
1010
import arc
1111

12-
from ryd_numerov.units import NDArray
12+
from rydstate.units import NDArray
1313

1414

1515
def radialWavefunction( # noqa: N802

0 commit comments

Comments
 (0)