Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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)
Binary file added app/assets/screenshot_v4.0.0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ gunicorn
Pillow
requests
h5py
hickle
numba
git+https://github.com/telegraphic/mwprop
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_tau_sc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()