neloura 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. neloura-0.1.2/MANIFEST.in +10 -0
  2. neloura-0.1.2/PKG-INFO +104 -0
  3. neloura-0.1.2/README.md +58 -0
  4. neloura-0.1.2/ast_test.py +537 -0
  5. neloura-0.1.2/catalogs/code.py +35 -0
  6. neloura-0.1.2/coding.py +293 -0
  7. neloura-0.1.2/features.html +1473 -0
  8. neloura-0.1.2/local_coding.py +333 -0
  9. neloura-0.1.2/main.py +14007 -0
  10. neloura-0.1.2/neloura.egg-info/PKG-INFO +104 -0
  11. neloura-0.1.2/neloura.egg-info/SOURCES.txt +146 -0
  12. neloura-0.1.2/neloura.egg-info/dependency_links.txt +1 -0
  13. neloura-0.1.2/neloura.egg-info/entry_points.txt +2 -0
  14. neloura-0.1.2/neloura.egg-info/requires.txt +29 -0
  15. neloura-0.1.2/neloura.egg-info/top_level.txt +7 -0
  16. neloura-0.1.2/neloura.py +347 -0
  17. neloura-0.1.2/peak_finder.py +1168 -0
  18. neloura-0.1.2/psf/miri_f1000w_psf_updated.fits +9698 -32
  19. neloura-0.1.2/psf/miri_f1130w_psf_updated.fits +9644 -32
  20. neloura-0.1.2/psf/miri_f2100w_psf_updated.fits +9748 -38
  21. neloura-0.1.2/pyproject.toml +90 -0
  22. neloura-0.1.2/requirements.txt +24 -0
  23. neloura-0.1.2/settings_api.py +704 -0
  24. neloura-0.1.2/setup.cfg +4 -0
  25. neloura-0.1.2/static/asttest.js +1366 -0
  26. neloura-0.1.2/static/canvas.js +7838 -0
  27. neloura-0.1.2/static/catalog_viewer.js +1891 -0
  28. neloura-0.1.2/static/catalog_webgl.js +1181 -0
  29. neloura-0.1.2/static/catalogs.js +6166 -0
  30. neloura-0.1.2/static/coding.js +923 -0
  31. neloura-0.1.2/static/colorcet_palettes.json +1 -0
  32. neloura-0.1.2/static/coords_overlay.js +914 -0
  33. neloura-0.1.2/static/credit.js +374 -0
  34. neloura-0.1.2/static/favicon.ico +0 -0
  35. neloura-0.1.2/static/files.js +3738 -0
  36. neloura-0.1.2/static/fonts/1Ptug8zYS_SKggPNyCMIT5lu.woff2 +0 -0
  37. neloura-0.1.2/static/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2 +0 -0
  38. neloura-0.1.2/static/fonts/raleway-v28-latin-300.woff2 +0 -0
  39. neloura-0.1.2/static/fonts/raleway-v28-latin-400.woff2 +0 -0
  40. neloura-0.1.2/static/fonts/raleway-v28-latin-500.woff2 +0 -0
  41. neloura-0.1.2/static/fonts/raleway-v28-latin-600.woff2 +0 -0
  42. neloura-0.1.2/static/fonts/raleway-v28-latin-700.woff2 +0 -0
  43. neloura-0.1.2/static/fonts/raleway-v28-latin-regular.woff2 +0 -0
  44. neloura-0.1.2/static/hdu_opener.js +987 -0
  45. neloura-0.1.2/static/image-processing.js +199 -0
  46. neloura-0.1.2/static/images/6281.png +0 -0
  47. neloura-0.1.2/static/images/628_cube.png +0 -0
  48. neloura-0.1.2/static/images/hdu.png +0 -0
  49. neloura-0.1.2/static/images/list.png +0 -0
  50. neloura-0.1.2/static/images/mask.png +0 -0
  51. neloura-0.1.2/static/images/ned.png +0 -0
  52. neloura-0.1.2/static/images/ngc0628_2.png +0 -0
  53. neloura-0.1.2/static/images/ngc1566_1.png +0 -0
  54. neloura-0.1.2/static/images/ngc1566_2.png +0 -0
  55. neloura-0.1.2/static/images/ngc4254_1.png +0 -0
  56. neloura-0.1.2/static/images/nl1.png +0 -0
  57. neloura-0.1.2/static/images/nl2.png +0 -0
  58. neloura-0.1.2/static/images/nl3.png +0 -0
  59. neloura-0.1.2/static/images/nl4.png +0 -0
  60. neloura-0.1.2/static/images/seg.png +0 -0
  61. neloura-0.1.2/static/images/side.png +0 -0
  62. neloura-0.1.2/static/images/zoom.png +0 -0
  63. neloura-0.1.2/static/index.html +175 -0
  64. neloura-0.1.2/static/local_coding.js +990 -0
  65. neloura-0.1.2/static/logo/android-chrome-192x192.png +0 -0
  66. neloura-0.1.2/static/logo/android-chrome-512x512.png +0 -0
  67. neloura-0.1.2/static/logo/app.icns +0 -0
  68. neloura-0.1.2/static/logo/apple-touch-icon.png +0 -0
  69. neloura-0.1.2/static/logo/favicon-16x16.png +0 -0
  70. neloura-0.1.2/static/logo/favicon-32x32.png +0 -0
  71. neloura-0.1.2/static/logo/favicon.ico +0 -0
  72. neloura-0.1.2/static/logo/logo.png +0 -0
  73. neloura-0.1.2/static/main.js +16978 -0
  74. neloura-0.1.2/static/mast.js +574 -0
  75. neloura-0.1.2/static/opendragon.js +822 -0
  76. neloura-0.1.2/static/peak.js +1401 -0
  77. neloura-0.1.2/static/plotter.js +7928 -0
  78. neloura-0.1.2/static/progress.css +34 -0
  79. neloura-0.1.2/static/rgb.js +1838 -0
  80. neloura-0.1.2/static/save.js +1019 -0
  81. neloura-0.1.2/static/sed.js +1280 -0
  82. neloura-0.1.2/static/settings.js +2453 -0
  83. neloura-0.1.2/static/style.css +1522 -0
  84. neloura-0.1.2/static/toolbar.js +5069 -0
  85. neloura-0.1.2/static/usage.js +572 -0
  86. neloura-0.1.2/static/vendor/codemirror/addon/comment/comment.min.js +1 -0
  87. neloura-0.1.2/static/vendor/codemirror/addon/hint/anyword-hint.min.js +1 -0
  88. neloura-0.1.2/static/vendor/codemirror/addon/hint/show-hint.min.css +1 -0
  89. neloura-0.1.2/static/vendor/codemirror/addon/hint/show-hint.min.js +1 -0
  90. neloura-0.1.2/static/vendor/codemirror/codemirror.min.css +1 -0
  91. neloura-0.1.2/static/vendor/codemirror/codemirror.min.js +1 -0
  92. neloura-0.1.2/static/vendor/codemirror/mode/python/python.min.js +1 -0
  93. neloura-0.1.2/static/vendor/codemirror/theme/dracula.min.css +1 -0
  94. neloura-0.1.2/static/vendor/fabric/fabric.min.js +1 -0
  95. neloura-0.1.2/static/vendor/lodash/lodash.min.js +140 -0
  96. neloura-0.1.2/static/vendor/openseadragon/images/button_grouphover.png +0 -0
  97. neloura-0.1.2/static/vendor/openseadragon/images/button_hover.png +0 -0
  98. neloura-0.1.2/static/vendor/openseadragon/images/button_pressed.png +0 -0
  99. neloura-0.1.2/static/vendor/openseadragon/images/button_rest.png +0 -0
  100. neloura-0.1.2/static/vendor/openseadragon/images/fullpage_grouphover.png +0 -0
  101. neloura-0.1.2/static/vendor/openseadragon/images/fullpage_hover.png +0 -0
  102. neloura-0.1.2/static/vendor/openseadragon/images/fullpage_pressed.png +0 -0
  103. neloura-0.1.2/static/vendor/openseadragon/images/fullpage_rest.png +0 -0
  104. neloura-0.1.2/static/vendor/openseadragon/images/home_grouphover.png +0 -0
  105. neloura-0.1.2/static/vendor/openseadragon/images/home_hover.png +0 -0
  106. neloura-0.1.2/static/vendor/openseadragon/images/home_pressed.png +0 -0
  107. neloura-0.1.2/static/vendor/openseadragon/images/home_rest.png +0 -0
  108. neloura-0.1.2/static/vendor/openseadragon/images/next_grouphover.png +0 -0
  109. neloura-0.1.2/static/vendor/openseadragon/images/next_hover.png +0 -0
  110. neloura-0.1.2/static/vendor/openseadragon/images/next_pressed.png +0 -0
  111. neloura-0.1.2/static/vendor/openseadragon/images/next_rest.png +0 -0
  112. neloura-0.1.2/static/vendor/openseadragon/images/previous_grouphover.png +0 -0
  113. neloura-0.1.2/static/vendor/openseadragon/images/previous_hover.png +0 -0
  114. neloura-0.1.2/static/vendor/openseadragon/images/previous_pressed.png +0 -0
  115. neloura-0.1.2/static/vendor/openseadragon/images/previous_rest.png +0 -0
  116. neloura-0.1.2/static/vendor/openseadragon/images/rotateleft_grouphover.png +0 -0
  117. neloura-0.1.2/static/vendor/openseadragon/images/rotateleft_hover.png +0 -0
  118. neloura-0.1.2/static/vendor/openseadragon/images/rotateleft_pressed.png +0 -0
  119. neloura-0.1.2/static/vendor/openseadragon/images/rotateleft_rest.png +0 -0
  120. neloura-0.1.2/static/vendor/openseadragon/images/rotateright_grouphover.png +0 -0
  121. neloura-0.1.2/static/vendor/openseadragon/images/rotateright_hover.png +0 -0
  122. neloura-0.1.2/static/vendor/openseadragon/images/rotateright_pressed.png +0 -0
  123. neloura-0.1.2/static/vendor/openseadragon/images/rotateright_rest.png +0 -0
  124. neloura-0.1.2/static/vendor/openseadragon/images/zoomin_grouphover.png +0 -0
  125. neloura-0.1.2/static/vendor/openseadragon/images/zoomin_hover.png +0 -0
  126. neloura-0.1.2/static/vendor/openseadragon/images/zoomin_pressed.png +0 -0
  127. neloura-0.1.2/static/vendor/openseadragon/images/zoomin_rest.png +0 -0
  128. neloura-0.1.2/static/vendor/openseadragon/images/zoomout_grouphover.png +0 -0
  129. neloura-0.1.2/static/vendor/openseadragon/images/zoomout_hover.png +0 -0
  130. neloura-0.1.2/static/vendor/openseadragon/images/zoomout_pressed.png +0 -0
  131. neloura-0.1.2/static/vendor/openseadragon/images/zoomout_rest.png +0 -0
  132. neloura-0.1.2/static/vendor/openseadragon/openseadragon.min.js +9 -0
  133. neloura-0.1.2/static/vendor/regions-select/regions-select.umd.js +1 -0
  134. neloura-0.1.2/static/vendor/sweetalert2/sweetalert2.all.min.js +6 -0
  135. neloura-0.1.2/static/view.js +0 -0
  136. neloura-0.1.2/static/wcs.js +918 -0
  137. neloura-0.1.2/static/workers/json_parse_worker.js +21 -0
  138. neloura-0.1.2/vendor/colorcet/__init__.py +27464 -0
  139. neloura-0.1.2/vendor/colorcet/_version.py +16 -0
  140. neloura-0.1.2/vendor/colorcet/plotting.py +131 -0
  141. neloura-0.1.2/vendor/colorcet/sineramp.py +144 -0
  142. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/INSTALLER +1 -0
  143. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/LICENSE.txt +250 -0
  144. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/METADATA +137 -0
  145. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/RECORD +15 -0
  146. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/REQUESTED +0 -0
  147. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/WHEEL +5 -0
  148. neloura-0.1.2/vendor/colorcet-3.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,10 @@
1
+ include README.md
2
+ include requirements.txt
3
+ include features.html
4
+ recursive-include static *
5
+ recursive-include vendor *
6
+ recursive-include catalogs *.py
7
+ recursive-include psf *
8
+ global-exclude __pycache__/*
9
+ global-exclude *.py[cod]
10
+ global-exclude .DS_Store
neloura-0.1.2/PKG-INFO ADDED
@@ -0,0 +1,104 @@
1
+ Metadata-Version: 2.4
2
+ Name: neloura
3
+ Version: 0.1.2
4
+ Summary: A local web viewer and analysis app for astronomical FITS images.
5
+ Author: Neloura Developers
6
+ Project-URL: Homepage, https://github.com/hamidnpc/Neloura
7
+ Project-URL: Source, https://github.com/hamidnpc/Neloura
8
+ Project-URL: Issues, https://github.com/hamidnpc/Neloura/issues
9
+ Keywords: astronomy,fits,astropy,visualization,jupyter
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
17
+ Requires-Python: >=3.10
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: fastapi
20
+ Requires-Dist: python-multipart
21
+ Requires-Dist: astropy
22
+ Requires-Dist: regions
23
+ Requires-Dist: reproject
24
+ Requires-Dist: spectral-cube
25
+ Requires-Dist: matplotlib
26
+ Requires-Dist: Pillow
27
+ Requires-Dist: scikit-image
28
+ Requires-Dist: numpy
29
+ Requires-Dist: aiohttp
30
+ Requires-Dist: photutils
31
+ Requires-Dist: psutil
32
+ Requires-Dist: httpx
33
+ Requires-Dist: requests
34
+ Requires-Dist: certifi
35
+ Requires-Dist: websockets
36
+ Requires-Dist: wsproto
37
+ Requires-Dist: uvicorn[standard]
38
+ Requires-Dist: astrodendro
39
+ Requires-Dist: astroquery
40
+ Requires-Dist: scipy
41
+ Provides-Extra: notebook
42
+ Requires-Dist: ipython; extra == "notebook"
43
+ Provides-Extra: dev
44
+ Requires-Dist: build; extra == "dev"
45
+ Requires-Dist: twine; extra == "dev"
46
+
47
+ # Neloura
48
+
49
+ Neloura is a local web application for opening, visualizing, and analyzing
50
+ astronomical FITS images.
51
+
52
+ This package can be run from the command line:
53
+
54
+ ```bash
55
+ neloura serve
56
+ neloura open path/to/image.fits
57
+ ```
58
+
59
+ It can also be used inside Jupyter:
60
+
61
+ ```python
62
+ import neloura
63
+
64
+ neloura.open_fits("path/to/image.fits")
65
+ ```
66
+
67
+ In Jupyter, `open_fits()` starts a local Neloura server and displays the full
68
+ app in an iframe below the notebook cell. Outside Jupyter, it opens the app in a
69
+ browser tab.
70
+
71
+ On JupyterHub-style remote notebook servers, Neloura automatically uses the
72
+ notebook server proxy when `JUPYTERHUB_SERVICE_PREFIX` is available, so the same
73
+ calls work from a browser connected to a remote kernel:
74
+
75
+ ```python
76
+ import neloura
77
+
78
+ neloura.open_app()
79
+ neloura.open_fits("path/on/server/image.fits")
80
+ ```
81
+
82
+ ## Development Install
83
+
84
+ From the repository root:
85
+
86
+ ```bash
87
+ python -m pip install -e ".[notebook]"
88
+ neloura serve
89
+ ```
90
+
91
+ On shared notebook servers where the system Python is not writable, install into
92
+ the user environment:
93
+
94
+ ```bash
95
+ python -m pip install --user -U neloura
96
+ ```
97
+
98
+ ## Build
99
+
100
+ ```bash
101
+ python -m pip install -U build twine
102
+ python -m build
103
+ twine check dist/*
104
+ ```
@@ -0,0 +1,58 @@
1
+ # Neloura
2
+
3
+ Neloura is a local web application for opening, visualizing, and analyzing
4
+ astronomical FITS images.
5
+
6
+ This package can be run from the command line:
7
+
8
+ ```bash
9
+ neloura serve
10
+ neloura open path/to/image.fits
11
+ ```
12
+
13
+ It can also be used inside Jupyter:
14
+
15
+ ```python
16
+ import neloura
17
+
18
+ neloura.open_fits("path/to/image.fits")
19
+ ```
20
+
21
+ In Jupyter, `open_fits()` starts a local Neloura server and displays the full
22
+ app in an iframe below the notebook cell. Outside Jupyter, it opens the app in a
23
+ browser tab.
24
+
25
+ On JupyterHub-style remote notebook servers, Neloura automatically uses the
26
+ notebook server proxy when `JUPYTERHUB_SERVICE_PREFIX` is available, so the same
27
+ calls work from a browser connected to a remote kernel:
28
+
29
+ ```python
30
+ import neloura
31
+
32
+ neloura.open_app()
33
+ neloura.open_fits("path/on/server/image.fits")
34
+ ```
35
+
36
+ ## Development Install
37
+
38
+ From the repository root:
39
+
40
+ ```bash
41
+ python -m pip install -e ".[notebook]"
42
+ neloura serve
43
+ ```
44
+
45
+ On shared notebook servers where the system Python is not writable, install into
46
+ the user environment:
47
+
48
+ ```bash
49
+ python -m pip install --user -U neloura
50
+ ```
51
+
52
+ ## Build
53
+
54
+ ```bash
55
+ python -m pip install -U build twine
56
+ python -m build
57
+ twine check dist/*
58
+ ```