visiomatic 3.0.0__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 (254) hide show
  1. visiomatic-3.0.0/LICENSE +21 -0
  2. visiomatic-3.0.0/PKG-INFO +130 -0
  3. visiomatic-3.0.0/README.md +64 -0
  4. visiomatic-3.0.0/pyproject.toml +108 -0
  5. visiomatic-3.0.0/src/visiomatic/__init__.py +9 -0
  6. visiomatic-3.0.0/src/visiomatic/client/css/spectrum.css +643 -0
  7. visiomatic-3.0.0/src/visiomatic/client/css/themes.css +199 -0
  8. visiomatic-3.0.0/src/visiomatic/client/css/visiomatic.css +1785 -0
  9. visiomatic-3.0.0/src/visiomatic/client/dist/visiomatic.js +63 -0
  10. visiomatic-3.0.0/src/visiomatic/client/images/activity.svg +21 -0
  11. visiomatic-3.0.0/src/visiomatic/client/images/cds.png +0 -0
  12. visiomatic-3.0.0/src/visiomatic/client/images/cfht-logo.svg +6 -0
  13. visiomatic-3.0.0/src/visiomatic/client/images/directory.png +0 -0
  14. visiomatic-3.0.0/src/visiomatic/client/images/file.png +0 -0
  15. visiomatic-3.0.0/src/visiomatic/client/images/folder_open.png +0 -0
  16. visiomatic-3.0.0/src/visiomatic/client/images/icon-backward.svg +6 -0
  17. visiomatic-3.0.0/src/visiomatic/client/images/icon-backward2.svg +6 -0
  18. visiomatic-3.0.0/src/visiomatic/client/images/icon-camera.svg +8 -0
  19. visiomatic-3.0.0/src/visiomatic/client/images/icon-clipboard.svg +8 -0
  20. visiomatic-3.0.0/src/visiomatic/client/images/icon-cog.svg +7 -0
  21. visiomatic-3.0.0/src/visiomatic/client/images/icon-cold.svg +10 -0
  22. visiomatic-3.0.0/src/visiomatic/client/images/icon-contrast.svg +14 -0
  23. visiomatic-3.0.0/src/visiomatic/client/images/icon-equalizer2.svg +6 -0
  24. visiomatic-3.0.0/src/visiomatic/client/images/icon-first.svg +6 -0
  25. visiomatic-3.0.0/src/visiomatic/client/images/icon-fullscreen.svg +14 -0
  26. visiomatic-3.0.0/src/visiomatic/client/images/icon-grey.svg +10 -0
  27. visiomatic-3.0.0/src/visiomatic/client/images/icon-home.svg +7 -0
  28. visiomatic-3.0.0/src/visiomatic/client/images/icon-hot.svg +12 -0
  29. visiomatic-3.0.0/src/visiomatic/client/images/icon-image.svg +9 -0
  30. visiomatic-3.0.0/src/visiomatic/client/images/icon-info.svg +8 -0
  31. visiomatic-3.0.0/src/visiomatic/client/images/icon-jet.svg +14 -0
  32. visiomatic-3.0.0/src/visiomatic/client/images/icon-last.svg +6 -0
  33. visiomatic-3.0.0/src/visiomatic/client/images/icon-left.svg +7 -0
  34. visiomatic-3.0.0/src/visiomatic/client/images/icon-location.svg +7 -0
  35. visiomatic-3.0.0/src/visiomatic/client/images/icon-magicwand.svg +10 -0
  36. visiomatic-3.0.0/src/visiomatic/client/images/icon-magnifyminus.svg +5 -0
  37. visiomatic-3.0.0/src/visiomatic/client/images/icon-magnifyplus.svg +6 -0
  38. visiomatic-3.0.0/src/visiomatic/client/images/icon-make-group.svg +10 -0
  39. visiomatic-3.0.0/src/visiomatic/client/images/icon-map.svg +9 -0
  40. visiomatic-3.0.0/src/visiomatic/client/images/icon-menu.svg +7 -0
  41. visiomatic-3.0.0/src/visiomatic/client/images/icon-minus.svg +6 -0
  42. visiomatic-3.0.0/src/visiomatic/client/images/icon-next.svg +5 -0
  43. visiomatic-3.0.0/src/visiomatic/client/images/icon-palette.svg +17 -0
  44. visiomatic-3.0.0/src/visiomatic/client/images/icon-pause.svg +6 -0
  45. visiomatic-3.0.0/src/visiomatic/client/images/icon-pdf.svg +8 -0
  46. visiomatic-3.0.0/src/visiomatic/client/images/icon-play.svg +6 -0
  47. visiomatic-3.0.0/src/visiomatic/client/images/icon-plot.svg +5 -0
  48. visiomatic-3.0.0/src/visiomatic/client/images/icon-plus.svg +6 -0
  49. visiomatic-3.0.0/src/visiomatic/client/images/icon-previous.svg +6 -0
  50. visiomatic-3.0.0/src/visiomatic/client/images/icon-print.svg +8 -0
  51. visiomatic-3.0.0/src/visiomatic/client/images/icon-reset.svg +10 -0
  52. visiomatic-3.0.0/src/visiomatic/client/images/icon-reverse.svg +6 -0
  53. visiomatic-3.0.0/src/visiomatic/client/images/icon-right.svg +7 -0
  54. visiomatic-3.0.0/src/visiomatic/client/images/icon-settings.svg +7 -0
  55. visiomatic-3.0.0/src/visiomatic/client/images/icon-shrink.svg +6 -0
  56. visiomatic-3.0.0/src/visiomatic/client/images/icon-stack.svg +7 -0
  57. visiomatic-3.0.0/src/visiomatic/client/images/icon-trash.svg +7 -0
  58. visiomatic-3.0.0/src/visiomatic/client/images/icon-windowed.svg +15 -0
  59. visiomatic-3.0.0/src/visiomatic/client/images/iip.png +0 -0
  60. visiomatic-3.0.0/src/visiomatic/client/images/imcce.svg +42 -0
  61. visiomatic-3.0.0/src/visiomatic/client/images/leaflet.svg +28 -0
  62. visiomatic-3.0.0/src/visiomatic/client/images/mast.png +0 -0
  63. visiomatic-3.0.0/src/visiomatic/client/images/picture.png +0 -0
  64. visiomatic-3.0.0/src/visiomatic/client/images/reticle.svg +16 -0
  65. visiomatic-3.0.0/src/visiomatic/client/images/toggle.png +0 -0
  66. visiomatic-3.0.0/src/visiomatic/client/images/visiomatic.png +0 -0
  67. visiomatic-3.0.0/src/visiomatic/client/images/vizier.png +0 -0
  68. visiomatic-3.0.0/src/visiomatic/client/js/Visiomatic.js +14 -0
  69. visiomatic-3.0.0/src/visiomatic/client/js/VisiomaticGlobal.js +30 -0
  70. visiomatic-3.0.0/src/visiomatic/client/js/catalog/Catalog.js +266 -0
  71. visiomatic-3.0.0/src/visiomatic/client/js/catalog/catalogs.js +473 -0
  72. visiomatic-3.0.0/src/visiomatic/client/js/catalog/index.js +10 -0
  73. visiomatic-3.0.0/src/visiomatic/client/js/control/CatalogUI.js +387 -0
  74. visiomatic-3.0.0/src/visiomatic/client/js/control/ChannelUI.js +794 -0
  75. visiomatic-3.0.0/src/visiomatic/client/js/control/Coords.js +404 -0
  76. visiomatic-3.0.0/src/visiomatic/client/js/control/DocUI.js +226 -0
  77. visiomatic-3.0.0/src/visiomatic/client/js/control/ExtraMap.js +568 -0
  78. visiomatic-3.0.0/src/visiomatic/client/js/control/FullScreen.js +257 -0
  79. visiomatic-3.0.0/src/visiomatic/client/js/control/ImageUI.js +216 -0
  80. visiomatic-3.0.0/src/visiomatic/client/js/control/PixelValues.js +261 -0
  81. visiomatic-3.0.0/src/visiomatic/client/js/control/PreferencesUI.js +124 -0
  82. visiomatic-3.0.0/src/visiomatic/client/js/control/ProfileUI.js +623 -0
  83. visiomatic-3.0.0/src/visiomatic/client/js/control/RegionUI.js +272 -0
  84. visiomatic-3.0.0/src/visiomatic/client/js/control/Reticle.js +76 -0
  85. visiomatic-3.0.0/src/visiomatic/client/js/control/Scale.js +300 -0
  86. visiomatic-3.0.0/src/visiomatic/client/js/control/Sidebar.js +363 -0
  87. visiomatic-3.0.0/src/visiomatic/client/js/control/SnapshotUI.js +190 -0
  88. visiomatic-3.0.0/src/visiomatic/client/js/control/UI.js +865 -0
  89. visiomatic-3.0.0/src/visiomatic/client/js/control/index.js +24 -0
  90. visiomatic-3.0.0/src/visiomatic/client/js/control/logo.js +56 -0
  91. visiomatic-3.0.0/src/visiomatic/client/js/control/widget/FlipSwitch.js +108 -0
  92. visiomatic-3.0.0/src/visiomatic/client/js/control/widget/Spinbox.js +392 -0
  93. visiomatic-3.0.0/src/visiomatic/client/js/control/widget/index.js +10 -0
  94. visiomatic-3.0.0/src/visiomatic/client/js/copyright.js +27 -0
  95. visiomatic-3.0.0/src/visiomatic/client/js/crs/Conical.js +157 -0
  96. visiomatic-3.0.0/src/visiomatic/client/js/crs/Cylindrical.js +178 -0
  97. visiomatic-3.0.0/src/visiomatic/client/js/crs/Pixel.js +84 -0
  98. visiomatic-3.0.0/src/visiomatic/client/js/crs/Projection.js +658 -0
  99. visiomatic-3.0.0/src/visiomatic/client/js/crs/WCS.js +509 -0
  100. visiomatic-3.0.0/src/visiomatic/client/js/crs/Zenithal.js +412 -0
  101. visiomatic-3.0.0/src/visiomatic/client/js/crs/index.js +13 -0
  102. visiomatic-3.0.0/src/visiomatic/client/js/layer/VTileLayer.js +1100 -0
  103. visiomatic-3.0.0/src/visiomatic/client/js/layer/index.js +9 -0
  104. visiomatic-3.0.0/src/visiomatic/client/js/util/RGB.js +104 -0
  105. visiomatic-3.0.0/src/visiomatic/client/js/util/VUtil.js +247 -0
  106. visiomatic-3.0.0/src/visiomatic/client/js/util/fileTree.js +111 -0
  107. visiomatic-3.0.0/src/visiomatic/client/js/util/index.js +10 -0
  108. visiomatic-3.0.0/src/visiomatic/client/js/vector/Ellipse.js +160 -0
  109. visiomatic-3.0.0/src/visiomatic/client/js/vector/EllipseMarker.js +286 -0
  110. visiomatic-3.0.0/src/visiomatic/client/js/vector/index.js +10 -0
  111. visiomatic-3.0.0/src/visiomatic/client/jsdoc.json +20 -0
  112. visiomatic-3.0.0/src/visiomatic/client/package-lock.json +4892 -0
  113. visiomatic-3.0.0/src/visiomatic/client/package.json +85 -0
  114. visiomatic-3.0.0/src/visiomatic/cmd/__init__.py +6 -0
  115. visiomatic-3.0.0/src/visiomatic/cmd/start.py +121 -0
  116. visiomatic-3.0.0/src/visiomatic/doc/html/.buildinfo +4 -0
  117. visiomatic-3.0.0/src/visiomatic/doc/html/.nojekyll +0 -0
  118. visiomatic-3.0.0/src/visiomatic/doc/html/_images/advanced_menu.png +0 -0
  119. visiomatic-3.0.0/src/visiomatic/doc/html/_images/catalog_overlays.png +0 -0
  120. visiomatic-3.0.0/src/visiomatic/doc/html/_images/channel_mixing.png +0 -0
  121. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-camera.svg +8 -0
  122. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-cog.svg +7 -0
  123. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-contrast.svg +14 -0
  124. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-equalizer2.svg +6 -0
  125. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-fullscreen.svg +14 -0
  126. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-info.svg +8 -0
  127. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-location.svg +7 -0
  128. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-magnifyminus.svg +5 -0
  129. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-magnifyplus.svg +6 -0
  130. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-make-group.svg +10 -0
  131. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-menu.svg +7 -0
  132. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-palette.svg +17 -0
  133. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-pdf.svg +8 -0
  134. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-plot.svg +5 -0
  135. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-trash.svg +7 -0
  136. visiomatic-3.0.0/src/visiomatic/doc/html/_images/icon-windowed.svg +15 -0
  137. visiomatic-3.0.0/src/visiomatic/doc/html/_images/image_prefs.png +0 -0
  138. visiomatic-3.0.0/src/visiomatic/doc/html/_images/navigation.png +0 -0
  139. visiomatic-3.0.0/src/visiomatic/doc/html/_images/visiomatic-banner.png +0 -0
  140. visiomatic-3.0.0/src/visiomatic/doc/html/_images/visiomatic-chart.svg +3 -0
  141. visiomatic-3.0.0/src/visiomatic/doc/html/_images/web_interface.png +0 -0
  142. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/index.html +112 -0
  143. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/cmd/start.html +233 -0
  144. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/server/app.html +590 -0
  145. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/server/cache.html +581 -0
  146. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/server/config.html +450 -0
  147. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/server/image.html +394 -0
  148. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/server/settings.html +345 -0
  149. visiomatic-3.0.0/src/visiomatic/doc/html/_modules/visiomatic/server/tiled.html +1319 -0
  150. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/catalogs.rst.txt +40 -0
  151. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/geometry.rst.txt +15 -0
  152. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/index.rst.txt +13 -0
  153. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/layers.rst.txt +13 -0
  154. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/ui.rst.txt +164 -0
  155. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/utils.rst.txt +34 -0
  156. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/client/wcs.rst.txt +63 -0
  157. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/app.rst.txt +8 -0
  158. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/cache.rst.txt +7 -0
  159. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/cmd.rst.txt +11 -0
  160. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/config.rst.txt +8 -0
  161. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/image.rst.txt +8 -0
  162. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/index.rst.txt +14 -0
  163. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/settings.rst.txt +8 -0
  164. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api/server/tiled.rst.txt +9 -0
  165. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/api.rst.txt +12 -0
  166. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/index.rst.txt +19 -0
  167. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/interface.rst.txt +260 -0
  168. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/intro.rst.txt +16 -0
  169. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/overview.rst.txt +75 -0
  170. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/references.rst.txt +8 -0
  171. visiomatic-3.0.0/src/visiomatic/doc/html/_sources/setup.rst.txt +428 -0
  172. visiomatic-3.0.0/src/visiomatic/doc/html/_static/_sphinx_javascript_frameworks_compat.js +123 -0
  173. visiomatic-3.0.0/src/visiomatic/doc/html/_static/basic.css +925 -0
  174. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/badge_only.css +1 -0
  175. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/custom.css +175 -0
  176. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  177. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  178. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  179. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  180. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
  181. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.svg +2671 -0
  182. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  183. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
  184. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  185. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-bold-italic.woff +0 -0
  186. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  187. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-bold.woff +0 -0
  188. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-bold.woff2 +0 -0
  189. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-normal-italic.woff +0 -0
  190. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  191. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-normal.woff +0 -0
  192. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/fonts/lato-normal.woff2 +0 -0
  193. visiomatic-3.0.0/src/visiomatic/doc/html/_static/css/theme.css +4 -0
  194. visiomatic-3.0.0/src/visiomatic/doc/html/_static/doctools.js +156 -0
  195. visiomatic-3.0.0/src/visiomatic/doc/html/_static/documentation_options.js +13 -0
  196. visiomatic-3.0.0/src/visiomatic/doc/html/_static/file.png +0 -0
  197. visiomatic-3.0.0/src/visiomatic/doc/html/_static/jquery.js +2 -0
  198. visiomatic-3.0.0/src/visiomatic/doc/html/_static/js/badge_only.js +1 -0
  199. visiomatic-3.0.0/src/visiomatic/doc/html/_static/js/html5shiv-printshiv.min.js +4 -0
  200. visiomatic-3.0.0/src/visiomatic/doc/html/_static/js/html5shiv.min.js +4 -0
  201. visiomatic-3.0.0/src/visiomatic/doc/html/_static/js/theme.js +1 -0
  202. visiomatic-3.0.0/src/visiomatic/doc/html/_static/language_data.js +199 -0
  203. visiomatic-3.0.0/src/visiomatic/doc/html/_static/minus.png +0 -0
  204. visiomatic-3.0.0/src/visiomatic/doc/html/_static/plus.png +0 -0
  205. visiomatic-3.0.0/src/visiomatic/doc/html/_static/pygments.css +75 -0
  206. visiomatic-3.0.0/src/visiomatic/doc/html/_static/searchtools.js +619 -0
  207. visiomatic-3.0.0/src/visiomatic/doc/html/_static/sphinx_highlight.js +154 -0
  208. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/catalogs.html +400 -0
  209. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/geometry.html +336 -0
  210. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/index.html +575 -0
  211. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/layers.html +477 -0
  212. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/ui.html +2257 -0
  213. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/utils.html +301 -0
  214. visiomatic-3.0.0/src/visiomatic/doc/html/api/client/wcs.html +1444 -0
  215. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/app.html +139 -0
  216. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/cache.html +266 -0
  217. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/cmd.html +161 -0
  218. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/config.html +240 -0
  219. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/image.html +277 -0
  220. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/index.html +341 -0
  221. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/settings.html +294 -0
  222. visiomatic-3.0.0/src/visiomatic/doc/html/api/server/tiled.html +1785 -0
  223. visiomatic-3.0.0/src/visiomatic/doc/html/api.html +219 -0
  224. visiomatic-3.0.0/src/visiomatic/doc/html/genindex.html +1279 -0
  225. visiomatic-3.0.0/src/visiomatic/doc/html/index.html +146 -0
  226. visiomatic-3.0.0/src/visiomatic/doc/html/interface.html +306 -0
  227. visiomatic-3.0.0/src/visiomatic/doc/html/intro.html +120 -0
  228. visiomatic-3.0.0/src/visiomatic/doc/html/objects.inv +0 -0
  229. visiomatic-3.0.0/src/visiomatic/doc/html/overview.html +180 -0
  230. visiomatic-3.0.0/src/visiomatic/doc/html/py-modindex.html +160 -0
  231. visiomatic-3.0.0/src/visiomatic/doc/html/references.html +140 -0
  232. visiomatic-3.0.0/src/visiomatic/doc/html/search.html +125 -0
  233. visiomatic-3.0.0/src/visiomatic/doc/html/searchindex.js +1 -0
  234. visiomatic-3.0.0/src/visiomatic/doc/html/setup.html +483 -0
  235. visiomatic-3.0.0/src/visiomatic/package.py +58 -0
  236. visiomatic-3.0.0/src/visiomatic/py.typed +0 -0
  237. visiomatic-3.0.0/src/visiomatic/server/__init__.py +6 -0
  238. visiomatic-3.0.0/src/visiomatic/server/app.py +481 -0
  239. visiomatic-3.0.0/src/visiomatic/server/app.py.2 +418 -0
  240. visiomatic-3.0.0/src/visiomatic/server/cache.py +442 -0
  241. visiomatic-3.0.0/src/visiomatic/server/config.py +317 -0
  242. visiomatic-3.0.0/src/visiomatic/server/image.py +264 -0
  243. visiomatic-3.0.0/src/visiomatic/server/settings.py +221 -0
  244. visiomatic-3.0.0/src/visiomatic/server/tiled.py +1132 -0
  245. visiomatic-3.0.0/src/visiomatic/templates/banner.html +19 -0
  246. visiomatic-3.0.0/src/visiomatic/templates/base.html +65 -0
  247. visiomatic-3.0.0/tests/__init__.py +0 -0
  248. visiomatic-3.0.0/tests/performance/Makefile +21 -0
  249. visiomatic-3.0.0/tests/performance/ab.c +2396 -0
  250. visiomatic-3.0.0/tests/performance/concurrency.py +83 -0
  251. visiomatic-3.0.0/tests/performance/plot.py +49 -0
  252. visiomatic-3.0.0/tests/performance/visiomatic.log +100 -0
  253. visiomatic-3.0.0/tests/test_image.py +34 -0
  254. visiomatic-3.0.0/tests/test_tiled.py +77 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Emmanuel Bertin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,130 @@
1
+ Metadata-Version: 2.1
2
+ Name: VisiOmatic
3
+ Version: 3.0.0
4
+ Summary: A web application for visualizing astronomical images
5
+ Keywords: astronomy,CFHT,imaging
6
+ Author-Email: Emmanuel Bertin <bertin@cfht.hawaii.edu>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2022 Emmanuel Bertin
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+ Classifier: Programming Language :: Python :: 3
29
+ Classifier: Programming Language :: Python :: 3.8
30
+ Classifier: Programming Language :: Python :: 3.9
31
+ Classifier: Programming Language :: Python :: 3.10
32
+ Classifier: Programming Language :: Python :: 3.11
33
+ Classifier: Programming Language :: Python :: 3.12
34
+ Project-URL: Repository, https://github.com/astromatic/visiomatic
35
+ Project-URL: Homepage, https://visiomatic.org
36
+ Project-URL: Documentation, https://astromatic.github.io/visiomatic
37
+ Requires-Python: >=3.8
38
+ Requires-Dist: astropy>=5.0
39
+ Requires-Dist: atomics>=1.0
40
+ Requires-Dist: fastapi>=0.74
41
+ Requires-Dist: jinja2>=3.1.2
42
+ Requires-Dist: joblib>=1.0
43
+ Requires-Dist: methodtools>=0.4.7
44
+ Requires-Dist: numpy>=1.19
45
+ Requires-Dist: opencv-python>=4.5
46
+ Requires-Dist: orjson>=3.9.0
47
+ Requires-Dist: platformdirs>=3.4.0
48
+ Requires-Dist: posix_ipc>=1.1.0; platform_system == "Linux"
49
+ Requires-Dist: pydantic>=2.2
50
+ Requires-Dist: pydantic-settings>=2.2
51
+ Requires-Dist: scikit-image>=0.22.0
52
+ Requires-Dist: setuptools
53
+ Requires-Dist: simplejpeg>=1.6
54
+ Requires-Dist: tiler>=0.5
55
+ Requires-Dist: ultradict>=0.0.6; platform_system == "Linux"
56
+ Requires-Dist: uvicorn[standard]>=0.30
57
+ Requires-Dist: mypy; extra == "test"
58
+ Requires-Dist: pytest-cov; extra == "test"
59
+ Requires-Dist: sphinx>=7.0; extra == "doc"
60
+ Requires-Dist: sphinx-rtd-theme>=1.2; extra == "doc"
61
+ Requires-Dist: sphinxcontrib-bibtex>=2.4.0; extra == "doc"
62
+ Requires-Dist: sphinx-js>=3.2.2; extra == "doc"
63
+ Provides-Extra: test
64
+ Provides-Extra: doc
65
+ Description-Content-Type: text/markdown
66
+
67
+ # ![VisiOmatic logo](https://github.com/astromatic/visiomatic/blob/main/src/visiomatic/client/images/visiomatic.png) VisiOmatic 3
68
+
69
+ [![Documentation](https://github.com/astromatic/visiomatic/actions/workflows/doc.yml/badge.svg)](https://github.com/astromatic/visiomatic/actions/workflows/doc.yml)[![Tests](https://github.com/astromatic/visiomatic/actions/workflows/tests.yml/badge.svg)](https://github.com/astromatic/visiomatic/actions/workflows/tests.yml)
70
+ [![codecov](https://codecov.io/gh/astromatic/visiomatic/graph/badge.svg?token=DodRbYmlWZ)](https://codecov.io/gh/astromatic/visiomatic)
71
+
72
+ VisiOmatic is a web application for visualizing astronomical images. This is the version 3 of the package. Code from the older versions can still be accessed through the [``legacy``](https://github.com/astromatic/visiomatic/tree/legacy) branch.
73
+
74
+ ## Installation
75
+
76
+ You can install Visiomatic via pip:
77
+
78
+ ```bash
79
+ pip install visiomatic
80
+ ```
81
+
82
+ ## Usage
83
+
84
+ ```bash
85
+ visiomatic image.fits
86
+ ```
87
+
88
+ ## Documentation
89
+
90
+ A detailed documentation, including API reference is available [here](https://astromatic.github.io/visiomatic). Note: this is still work in progress.
91
+
92
+ ## Technical overview
93
+
94
+ The VisiOmatic package provides a complete remote visualization system for large multispectral/hyperspectral astronomical image data (or image sequences). The web client interface runs in standard web browsers, generating image requests to a server on behalf of the user. These HTTP requests are processed in real-time by the server, through a web API, to compute and deliver compressed images which are then updated almost immediately in the browser.
95
+
96
+ ### Web client
97
+ The VisiOmatic web client is built on top of the Leaflet Javascript mini-framework (e.g., MapBox, OpenStreetMap, ...). The VisiOmatic web client interface is fully asynchronous, and is particularly immune to connection glitches. It is embeddable in regular Web pages, blog posts, portals, or wiki entries, and is fully templatable. It is compatible with touchscreen interfaces such as those offered by iOS and Android mobile devices. The position and appearance of widgets is fully customizable through module options and Cascading Style Sheets. The graphic engine relies purely on Javascript and HTML5 and not on proprietary technology. It is fully compatible with the current breed of popular web browsers, including Mozilla Firefox (v94 and above), Google Chrome (v95 and above), Apple Safari (v15 and above), Microsoft Edge (v95 an above) and Opera (v80 and above).
98
+
99
+ ### Web server
100
+
101
+ The VisiOmatic web server version 3 is written in the Python language. It replaces the IIPImage-astro FCGI (Fast Common Gateway Interface) C++ code of earlier VisiOmatic versions. It operates as a web-service that encodes and streams in real-time large high resolution images which are delivered in the form of compressed "tiles". It is designed to be fast and bandwidth-efficient.
102
+
103
+ Compared to other existing solutions, VisiOmatic has the advantage of providing on-the-fly compression to image formats natively supported in web browsers, as well as access to uncompressed pixel data. This means that it can operate directly on science-grade multichannel data stored in floating-point format, and perform operations such as rescaling or channel-mixing before sending out the resulting image to the client. Contrary to other solutions dealing with multispectral data, all the image processing and compositing is done server-side. This dramatically decreases the quantity of information that has to be sent to the browser, and the amount of computing which must be performed client-side, making the exploration of large datacubes from a smartphone a comfortable experience, even through a 4G connection.
104
+
105
+ ## Data management
106
+
107
+ Previous versions of VisiOmatic would require the original image data files to be converted to a tiled multi-resolution TIFF format. The new version works directly on FITS images, including data cubes and MEF files, and performs image tiling and rebinning on-the-fly.
108
+
109
+ Vector data are stored in GeoJSON format. GeoJSON offers a compact, yet human-friendly representation of features such as markers, lines, polygons, and can easily be generated from e.g., CSV or ds9 region files.
110
+
111
+ ## Security
112
+
113
+ Data security is a major issue for online services. In VisiOmatic, two mechanisms allow the webmaster to control the dissemination of data:
114
+
115
+ * Paths where the data files are located are not accessible from the web; they are only accessible by the server code, and absolute or relative access through upper levels of the directory tree is forbidden.
116
+ * The same origin security policy in web browsers restricts data access to servers located in the same domain as the server hosting the client code, and prevents Javascript applications on websites from other domains sending AJAX requests directly to the VisiOmatic server.
117
+
118
+ If however data sharing with other domains is a desired feature, VisiOmatic implements the CORS mechanism to allow such requests from selected or all external websites.
119
+
120
+ ## Performance
121
+
122
+ Although Python is not the fastest language for manipulating data, VisiOmatic is fairly efficient. Current server code is able to serve thousands of 256×256 JPEG tiles per second per CPU core. The output image stream from a single 16-core server under heavy load (tens of thousands of tile requests per second) can thus easily saturate a 1 Gbit/s connection without caching.
123
+
124
+ ## Portability
125
+
126
+ The server has been tested on the Linux, MacOS and Windows platforms. Note that presently only the Linux version can take advantage of multiple CPU cores, due to limitations with Python wrappers to low-level system libraries.
127
+
128
+ ## License
129
+
130
+ Visiomatic is licensed under the [MIT License](https://raw.githubusercontent.com/astromatic/visiomatic/develop/LICENSE).
@@ -0,0 +1,64 @@
1
+ # ![VisiOmatic logo](https://github.com/astromatic/visiomatic/blob/main/src/visiomatic/client/images/visiomatic.png) VisiOmatic 3
2
+
3
+ [![Documentation](https://github.com/astromatic/visiomatic/actions/workflows/doc.yml/badge.svg)](https://github.com/astromatic/visiomatic/actions/workflows/doc.yml)[![Tests](https://github.com/astromatic/visiomatic/actions/workflows/tests.yml/badge.svg)](https://github.com/astromatic/visiomatic/actions/workflows/tests.yml)
4
+ [![codecov](https://codecov.io/gh/astromatic/visiomatic/graph/badge.svg?token=DodRbYmlWZ)](https://codecov.io/gh/astromatic/visiomatic)
5
+
6
+ VisiOmatic is a web application for visualizing astronomical images. This is the version 3 of the package. Code from the older versions can still be accessed through the [``legacy``](https://github.com/astromatic/visiomatic/tree/legacy) branch.
7
+
8
+ ## Installation
9
+
10
+ You can install Visiomatic via pip:
11
+
12
+ ```bash
13
+ pip install visiomatic
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```bash
19
+ visiomatic image.fits
20
+ ```
21
+
22
+ ## Documentation
23
+
24
+ A detailed documentation, including API reference is available [here](https://astromatic.github.io/visiomatic). Note: this is still work in progress.
25
+
26
+ ## Technical overview
27
+
28
+ The VisiOmatic package provides a complete remote visualization system for large multispectral/hyperspectral astronomical image data (or image sequences). The web client interface runs in standard web browsers, generating image requests to a server on behalf of the user. These HTTP requests are processed in real-time by the server, through a web API, to compute and deliver compressed images which are then updated almost immediately in the browser.
29
+
30
+ ### Web client
31
+ The VisiOmatic web client is built on top of the Leaflet Javascript mini-framework (e.g., MapBox, OpenStreetMap, ...). The VisiOmatic web client interface is fully asynchronous, and is particularly immune to connection glitches. It is embeddable in regular Web pages, blog posts, portals, or wiki entries, and is fully templatable. It is compatible with touchscreen interfaces such as those offered by iOS and Android mobile devices. The position and appearance of widgets is fully customizable through module options and Cascading Style Sheets. The graphic engine relies purely on Javascript and HTML5 and not on proprietary technology. It is fully compatible with the current breed of popular web browsers, including Mozilla Firefox (v94 and above), Google Chrome (v95 and above), Apple Safari (v15 and above), Microsoft Edge (v95 an above) and Opera (v80 and above).
32
+
33
+ ### Web server
34
+
35
+ The VisiOmatic web server version 3 is written in the Python language. It replaces the IIPImage-astro FCGI (Fast Common Gateway Interface) C++ code of earlier VisiOmatic versions. It operates as a web-service that encodes and streams in real-time large high resolution images which are delivered in the form of compressed "tiles". It is designed to be fast and bandwidth-efficient.
36
+
37
+ Compared to other existing solutions, VisiOmatic has the advantage of providing on-the-fly compression to image formats natively supported in web browsers, as well as access to uncompressed pixel data. This means that it can operate directly on science-grade multichannel data stored in floating-point format, and perform operations such as rescaling or channel-mixing before sending out the resulting image to the client. Contrary to other solutions dealing with multispectral data, all the image processing and compositing is done server-side. This dramatically decreases the quantity of information that has to be sent to the browser, and the amount of computing which must be performed client-side, making the exploration of large datacubes from a smartphone a comfortable experience, even through a 4G connection.
38
+
39
+ ## Data management
40
+
41
+ Previous versions of VisiOmatic would require the original image data files to be converted to a tiled multi-resolution TIFF format. The new version works directly on FITS images, including data cubes and MEF files, and performs image tiling and rebinning on-the-fly.
42
+
43
+ Vector data are stored in GeoJSON format. GeoJSON offers a compact, yet human-friendly representation of features such as markers, lines, polygons, and can easily be generated from e.g., CSV or ds9 region files.
44
+
45
+ ## Security
46
+
47
+ Data security is a major issue for online services. In VisiOmatic, two mechanisms allow the webmaster to control the dissemination of data:
48
+
49
+ * Paths where the data files are located are not accessible from the web; they are only accessible by the server code, and absolute or relative access through upper levels of the directory tree is forbidden.
50
+ * The same origin security policy in web browsers restricts data access to servers located in the same domain as the server hosting the client code, and prevents Javascript applications on websites from other domains sending AJAX requests directly to the VisiOmatic server.
51
+
52
+ If however data sharing with other domains is a desired feature, VisiOmatic implements the CORS mechanism to allow such requests from selected or all external websites.
53
+
54
+ ## Performance
55
+
56
+ Although Python is not the fastest language for manipulating data, VisiOmatic is fairly efficient. Current server code is able to serve thousands of 256×256 JPEG tiles per second per CPU core. The output image stream from a single 16-core server under heavy load (tens of thousands of tile requests per second) can thus easily saturate a 1 Gbit/s connection without caching.
57
+
58
+ ## Portability
59
+
60
+ The server has been tested on the Linux, MacOS and Windows platforms. Note that presently only the Linux version can take advantage of multiple CPU cores, due to limitations with Python wrappers to low-level system libraries.
61
+
62
+ ## License
63
+
64
+ Visiomatic is licensed under the [MIT License](https://raw.githubusercontent.com/astromatic/visiomatic/develop/LICENSE).
@@ -0,0 +1,108 @@
1
+ [build-system]
2
+ requires = [
3
+ "pdm-backend",
4
+ ]
5
+ build-backend = "pdm.backend"
6
+
7
+ [project]
8
+ name = "VisiOmatic"
9
+ version = "3.0.0"
10
+ description = "A web application for visualizing astronomical images"
11
+ authors = [
12
+ { name = "Emmanuel Bertin", email = "bertin@cfht.hawaii.edu" },
13
+ ]
14
+ keywords = [
15
+ "astronomy",
16
+ "CFHT",
17
+ "imaging",
18
+ ]
19
+ readme = "README.md"
20
+ dependencies = [
21
+ "astropy >= 5.0",
22
+ "atomics >= 1.0",
23
+ "fastapi >= 0.74",
24
+ "jinja2 >= 3.1.2",
25
+ "joblib >= 1.0",
26
+ "methodtools >= 0.4.7",
27
+ "numpy >= 1.19",
28
+ "opencv-python >= 4.5",
29
+ "orjson >= 3.9.0",
30
+ "platformdirs >= 3.4.0",
31
+ "posix_ipc >= 1.1.0; platform_system=='Linux'",
32
+ "pydantic >= 2.2",
33
+ "pydantic-settings >= 2.2",
34
+ "scikit-image >= 0.22.0",
35
+ "setuptools",
36
+ "simplejpeg >= 1.6",
37
+ "tiler >= 0.5",
38
+ "ultradict >= 0.0.6; platform_system=='Linux'",
39
+ "uvicorn[standard] >= 0.30",
40
+ ]
41
+ requires-python = ">=3.8"
42
+ classifiers = [
43
+ "Programming Language :: Python :: 3",
44
+ "Programming Language :: Python :: 3.8",
45
+ "Programming Language :: Python :: 3.9",
46
+ "Programming Language :: Python :: 3.10",
47
+ "Programming Language :: Python :: 3.11",
48
+ "Programming Language :: Python :: 3.12",
49
+ ]
50
+
51
+ [project.license]
52
+ file = "LICENSE"
53
+
54
+ [project.optional-dependencies]
55
+ test = [
56
+ "mypy",
57
+ "pytest-cov",
58
+ ]
59
+ doc = [
60
+ "sphinx >= 7.0",
61
+ "sphinx-rtd-theme >= 1.2",
62
+ "sphinxcontrib-bibtex >= 2.4.0",
63
+ "sphinx-js >= 3.2.2",
64
+ ]
65
+
66
+ [project.scripts]
67
+ visiomatic = "visiomatic.cmd.start:main"
68
+
69
+ [project.urls]
70
+ Repository = "https://github.com/astromatic/visiomatic"
71
+ Homepage = "https://visiomatic.org"
72
+ Documentation = "https://astromatic.github.io/visiomatic"
73
+
74
+ [tool.pdm.build]
75
+ excludes = [
76
+ "src/visiomatic/client/node_modules",
77
+ "src/visiomatic/doc/doctrees",
78
+ ]
79
+
80
+ [tool.pdm.scripts]
81
+ mypy = "mypy src"
82
+
83
+ [tool.pdm.scripts.doc]
84
+ cmd = "make inline"
85
+ working_dir = "docs"
86
+
87
+ [tool.pdm.scripts.pre_build]
88
+ composite = [
89
+ "doc",
90
+ "mypy",
91
+ ]
92
+
93
+ [tool.pdm.scripts.pre_install]
94
+ composite = [
95
+ "doc",
96
+ "mypy",
97
+ ]
98
+
99
+ [tool.pytest.ini_options]
100
+ filterwarnings = [
101
+ "ignore::DeprecationWarning",
102
+ ]
103
+
104
+ [tool.coverage.run]
105
+ source_pkgs = [
106
+ "visiomatic",
107
+ ]
108
+ command_line = "-m pytest tests"
@@ -0,0 +1,9 @@
1
+ """
2
+ VisiOmatic
3
+ ==========
4
+
5
+ A web application for visualizing astronomical images.
6
+ """
7
+ # Copyright CFHT/CNRS/SorbonneU
8
+ # Licensed under the MIT license
9
+