diff --git a/app/README.md b/app/README.md index 21abb86..91b13a6 100644 --- a/app/README.md +++ b/app/README.md @@ -5,4 +5,8 @@ docker build --tag pygedm_app . docker run -p 8050:8050 pygedm_app ``` -This will start a web app running on [localhost:8050](http://localhost:8050), which you can access via your browser. \ No newline at end of file +This will start a web app running on [localhost:8050](http://localhost:8050), which you can access via your browser. + +## Screenshots + +![PyGEDM App Screenshot](assets/screenshot_v4.0.0.jpg) \ No newline at end of file diff --git a/app/assets/screenshot_v4.0.0.jpg b/app/assets/screenshot_v4.0.0.jpg new file mode 100644 index 0000000..80d9557 Binary files /dev/null and b/app/assets/screenshot_v4.0.0.jpg differ diff --git a/app/requirements.txt b/app/requirements.txt index 4cc6ca7..53875f5 100644 --- a/app/requirements.txt +++ b/app/requirements.txt @@ -12,5 +12,6 @@ gunicorn Pillow requests h5py +hickle numba git+https://github.com/telegraphic/mwprop \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index ae7ef27..0ec302d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering :: Astronomy", ] dependencies = [ @@ -33,7 +34,8 @@ dependencies = [ "scipy", "tqdm", "importlib-metadata>=1.0; python_version < '3.8'", - "importlib-resources>=1.3; python_version < '3.9'" + "importlib-resources>=1.3; python_version < '3.9'", + "mwprop @ git+https://github.com/telegraphic/mwprop" ] [project.optional-dependencies] diff --git a/tests/test_tau_sc.py b/tests/test_tau_sc.py index 7604e07..4542b49 100644 --- a/tests/test_tau_sc.py +++ b/tests/test_tau_sc.py @@ -37,8 +37,8 @@ def test_tau_sc_nu(): dm, tau_sc_1GHz = pygedm.dm_to_dist(0, 0, 1000, method="ne2001", nu=1.0) dm, tau_sc_100MHz = pygedm.dm_to_dist(0, 0, 1000, method="ne2001", nu=0.1) - assert np.isclose(tau_sc_1GHz.value, 198.55289306) - assert np.isclose(tau_sc_100MHz.value, 4987423.18015693) + assert np.isclose(tau_sc_1GHz.value, 198.55289306, rtol=1e-3) + assert np.isclose(tau_sc_100MHz.value, 4987423.18015693, rtol=1e-3) if __name__ == "__main__": test_tau_sc_nu()