cubevis 0.5.2__py3-none-any.whl
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.
- cubevis/LICENSE.rst +500 -0
- cubevis/__icons__/20px/fast-backward.svg +13 -0
- cubevis/__icons__/20px/fast-forward.svg +13 -0
- cubevis/__icons__/20px/step-backward.svg +12 -0
- cubevis/__icons__/20px/step-forward.svg +12 -0
- cubevis/__icons__/add-chan.png +0 -0
- cubevis/__icons__/add-chan.svg +84 -0
- cubevis/__icons__/add-cube.png +0 -0
- cubevis/__icons__/add-cube.svg +186 -0
- cubevis/__icons__/drag.png +0 -0
- cubevis/__icons__/drag.svg +109 -0
- cubevis/__icons__/mask-selected.png +0 -0
- cubevis/__icons__/mask.png +0 -0
- cubevis/__icons__/mask.svg +1 -0
- cubevis/__icons__/new-layer-sm-selected.png +0 -0
- cubevis/__icons__/new-layer-sm-selected.svg +88 -0
- cubevis/__icons__/new-layer-sm.png +0 -0
- cubevis/__icons__/new-layer-sm.svg +15 -0
- cubevis/__icons__/reset.png +0 -0
- cubevis/__icons__/reset.svg +11 -0
- cubevis/__icons__/sub-chan.png +0 -0
- cubevis/__icons__/sub-chan.svg +71 -0
- cubevis/__icons__/sub-cube.png +0 -0
- cubevis/__icons__/sub-cube.svg +95 -0
- cubevis/__icons__/zoom-to-fit.png +0 -0
- cubevis/__icons__/zoom-to-fit.svg +21 -0
- cubevis/__init__.py +58 -0
- cubevis/__js__/bokeh-3.6.1.min.js +728 -0
- cubevis/__js__/bokeh-tables-3.6.1.min.js +119 -0
- cubevis/__js__/bokeh-widgets-3.6.1.min.js +141 -0
- cubevis/__js__/casalib.min.js +1 -0
- cubevis/__js__/cubevisjs.min.js +62 -0
- cubevis/__version__.py +1 -0
- cubevis/apps/__init__.py +44 -0
- cubevis/apps/_createmask.py +461 -0
- cubevis/apps/_createregion.py +513 -0
- cubevis/apps/_interactiveclean.py +3260 -0
- cubevis/apps/_interactiveclean_wrappers.py +130 -0
- cubevis/apps/_ms_raster.py +815 -0
- cubevis/apps/_plotants.py +286 -0
- cubevis/apps/_plotbandpass.py +7 -0
- cubevis/bokeh/__init__.py +29 -0
- cubevis/bokeh/annotations/__init__.py +1 -0
- cubevis/bokeh/annotations/_ev_poly_annotation.py +6 -0
- cubevis/bokeh/components/__init__.py +28 -0
- cubevis/bokeh/format/__init__.py +31 -0
- cubevis/bokeh/format/_time_ticks.py +44 -0
- cubevis/bokeh/format/_wcs_ticks.py +45 -0
- cubevis/bokeh/models/__init__.py +4 -0
- cubevis/bokeh/models/_edit_span.py +7 -0
- cubevis/bokeh/models/_ev_text_input.py +6 -0
- cubevis/bokeh/models/_tip.py +37 -0
- cubevis/bokeh/models/_tip_button.py +50 -0
- cubevis/bokeh/sources/__init__.py +35 -0
- cubevis/bokeh/sources/_data_pipe.py +258 -0
- cubevis/bokeh/sources/_image_data_source.py +83 -0
- cubevis/bokeh/sources/_image_pipe.py +581 -0
- cubevis/bokeh/sources/_spectra_data_source.py +55 -0
- cubevis/bokeh/sources/_updatable_data_source.py +189 -0
- cubevis/bokeh/state/__init__.py +34 -0
- cubevis/bokeh/state/_initialize.py +164 -0
- cubevis/bokeh/state/_javascript.py +53 -0
- cubevis/bokeh/state/_palette.py +58 -0
- cubevis/bokeh/state/_session.py +44 -0
- cubevis/bokeh/state/js/bokeh-2.4.1.min.js +596 -0
- cubevis/bokeh/state/js/bokeh-gl-2.4.1.min.js +74 -0
- cubevis/bokeh/state/js/bokeh-tables-2.4.1.min.js +132 -0
- cubevis/bokeh/state/js/bokeh-widgets-2.4.1.min.js +118 -0
- cubevis/bokeh/state/js/casaguijs-v0.0.4.0-b2.4.min.js +49 -0
- cubevis/bokeh/state/js/casaguijs-v0.0.5.0-b2.4.min.js +49 -0
- cubevis/bokeh/state/js/casaguijs-v0.0.6.0-b2.4.min.js +49 -0
- cubevis/bokeh/state/js/casalib-v0.0.1.min.js +1 -0
- cubevis/bokeh/tools/__init__.py +31 -0
- cubevis/bokeh/tools/_cbreset_tool.py +52 -0
- cubevis/bokeh/tools/_drag_tool.py +61 -0
- cubevis/bokeh/utils/__init__.py +35 -0
- cubevis/bokeh/utils/_axes_labels.py +94 -0
- cubevis/bokeh/utils/_svg_icon.py +136 -0
- cubevis/data/__init__.py +1 -0
- cubevis/data/casaimage/__init__.py +114 -0
- cubevis/data/measurement_set/__init__.py +7 -0
- cubevis/data/measurement_set/_ms_data.py +178 -0
- cubevis/data/measurement_set/processing_set/__init__.py +30 -0
- cubevis/data/measurement_set/processing_set/_ps_concat.py +98 -0
- cubevis/data/measurement_set/processing_set/_ps_coords.py +78 -0
- cubevis/data/measurement_set/processing_set/_ps_data.py +213 -0
- cubevis/data/measurement_set/processing_set/_ps_io.py +55 -0
- cubevis/data/measurement_set/processing_set/_ps_raster_data.py +154 -0
- cubevis/data/measurement_set/processing_set/_ps_select.py +91 -0
- cubevis/data/measurement_set/processing_set/_ps_stats.py +218 -0
- cubevis/data/measurement_set/processing_set/_xds_data.py +149 -0
- cubevis/plot/__init__.py +1 -0
- cubevis/plot/ms_plot/__init__.py +29 -0
- cubevis/plot/ms_plot/_ms_plot.py +242 -0
- cubevis/plot/ms_plot/_ms_plot_constants.py +22 -0
- cubevis/plot/ms_plot/_ms_plot_selectors.py +348 -0
- cubevis/plot/ms_plot/_raster_plot.py +292 -0
- cubevis/plot/ms_plot/_raster_plot_inputs.py +116 -0
- cubevis/plot/ms_plot/_xds_plot_axes.py +110 -0
- cubevis/private/__java__/xml-casa-assembly-1.86.jar +0 -0
- cubevis/private/_gclean.py +798 -0
- cubevis/private/casashell/createmask.py +332 -0
- cubevis/private/casashell/iclean.py +4432 -0
- cubevis/private/casatasks/__init__.py +140 -0
- cubevis/private/casatasks/createmask.py +86 -0
- cubevis/private/casatasks/createregion.py +83 -0
- cubevis/private/casatasks/iclean.py +1831 -0
- cubevis/readme.rst +16 -0
- cubevis/remote/__init__.py +10 -0
- cubevis/remote/_gclean.py +61 -0
- cubevis/remote/_local.py +287 -0
- cubevis/remote/_remote_kernel.py +80 -0
- cubevis/toolbox/__init__.py +32 -0
- cubevis/toolbox/_app_context.py +74 -0
- cubevis/toolbox/_cube.py +3457 -0
- cubevis/toolbox/_region_list.py +197 -0
- cubevis/utils/_ResourceManager.py +86 -0
- cubevis/utils/__init__.py +620 -0
- cubevis/utils/_contextmgrchain.py +84 -0
- cubevis/utils/_conversion.py +93 -0
- cubevis/utils/_copydoc.py +55 -0
- cubevis/utils/_docenum.py +25 -0
- cubevis/utils/_import_protected_module.py +35 -0
- cubevis/utils/_logging.py +85 -0
- cubevis/utils/_pkgs.py +77 -0
- cubevis/utils/_regions.py +40 -0
- cubevis/utils/_static.py +66 -0
- cubevis/utils/_tiles.py +167 -0
- cubevis-0.5.2.dist-info/METADATA +151 -0
- cubevis-0.5.2.dist-info/RECORD +132 -0
- cubevis-0.5.2.dist-info/WHEEL +4 -0
- cubevis-0.5.2.dist-info/licenses/LICENSE +504 -0
|
Binary file
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
width="16px"
|
|
12
|
+
height="16px"
|
|
13
|
+
viewBox="0 0 16 16"
|
|
14
|
+
version="1.1"
|
|
15
|
+
id="svg846"
|
|
16
|
+
sodipodi:docname="new-layer-sm-selected.svg"
|
|
17
|
+
inkscape:version="1.0.2 (e86c8708, 2021-01-15)"
|
|
18
|
+
inkscape:export-filename="/Users/drs/new-layer/new-layer-sm-selected.png"
|
|
19
|
+
inkscape:export-xdpi="96"
|
|
20
|
+
inkscape:export-ydpi="96">
|
|
21
|
+
<metadata
|
|
22
|
+
id="metadata850">
|
|
23
|
+
<rdf:RDF>
|
|
24
|
+
<cc:Work
|
|
25
|
+
rdf:about="">
|
|
26
|
+
<dc:format>image/svg+xml</dc:format>
|
|
27
|
+
<dc:type
|
|
28
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
29
|
+
</cc:Work>
|
|
30
|
+
</rdf:RDF>
|
|
31
|
+
</metadata>
|
|
32
|
+
<sodipodi:namedview
|
|
33
|
+
pagecolor="#ffffff"
|
|
34
|
+
bordercolor="#666666"
|
|
35
|
+
borderopacity="1"
|
|
36
|
+
objecttolerance="10"
|
|
37
|
+
gridtolerance="10"
|
|
38
|
+
guidetolerance="10"
|
|
39
|
+
inkscape:pageopacity="0"
|
|
40
|
+
inkscape:pageshadow="2"
|
|
41
|
+
inkscape:window-width="1109"
|
|
42
|
+
inkscape:window-height="601"
|
|
43
|
+
id="namedview848"
|
|
44
|
+
showgrid="false"
|
|
45
|
+
inkscape:zoom="25.165241"
|
|
46
|
+
inkscape:cx="6.5635914"
|
|
47
|
+
inkscape:cy="7.8703689"
|
|
48
|
+
inkscape:window-x="0"
|
|
49
|
+
inkscape:window-y="23"
|
|
50
|
+
inkscape:window-maximized="0"
|
|
51
|
+
inkscape:current-layer="svg846" />
|
|
52
|
+
<!-- Generator: Sketch 58 (84663) - https://sketch.com -->
|
|
53
|
+
<title
|
|
54
|
+
id="title833">pt-icon-new-layer</title>
|
|
55
|
+
<desc
|
|
56
|
+
id="desc835">Created with Sketch.</desc>
|
|
57
|
+
<rect
|
|
58
|
+
style="fill:#00ffff;stroke:none;stroke-width:0.976116"
|
|
59
|
+
id="rect852"
|
|
60
|
+
width="15.934678"
|
|
61
|
+
height="15.948435"
|
|
62
|
+
x="0.039737351"
|
|
63
|
+
y="0.025981309" />
|
|
64
|
+
<defs
|
|
65
|
+
id="defs838">
|
|
66
|
+
<path
|
|
67
|
+
d="M13.9816117,6.27234954 L15.5,7.14 L15.49,7.15 C15.79,7.32 16,7.63 16,8 C16,8.37 15.79,8.68 15.49,8.85 L15.5,8.86 L8.5,12.86 L8.49,12.85 C8.34,12.94 8.18,13 8,13 C7.82,13 7.66,12.94 7.51,12.85 L7.5,12.86 L0.5,8.86 L0.51,8.85 C0.21,8.68 0,8.37 0,8 C0,7.63 0.21,7.32 0.51,7.14 L0.5,7.13 L7.5,3.13 L7.51,3.15 C7.66,3.06 7.82,3 8,3 C8.08626374,3 8.167934,3.01378043 8.24611149,3.03803921 C8.08923388,3.32345769 8,3.651308 8,4 C8,5.1045695 8.8954305,6 10,6 C10,7.1045695 10.8954305,8 12,8 C13.0121896,8 13.8487598,7.2480836 13.9816117,6.27234954 Z M14,3 C14.55,3 15,3.45 15,4 C15,4.55 14.55,5 14,5 L13,5 L13,6 C13,6.55 12.55,7 12,7 C11.45,7 11,6.55 11,6 L11,5 L10,5 C9.45,5 9,4.55 9,4 C9,3.45 9.45,3 10,3 L11,3 L11,2 C11,1.45 11.45,1 12,1 C12.55,1 13,1.45 13,2 L13,3 L14,3 Z"
|
|
68
|
+
id="path-1" />
|
|
69
|
+
</defs>
|
|
70
|
+
<g
|
|
71
|
+
id="pt-icon-new-layer"
|
|
72
|
+
stroke="none"
|
|
73
|
+
stroke-width="1"
|
|
74
|
+
fill="none"
|
|
75
|
+
fill-rule="evenodd">
|
|
76
|
+
<mask
|
|
77
|
+
id="mask-2"
|
|
78
|
+
fill="white">
|
|
79
|
+
<use
|
|
80
|
+
xlink:href="#path-1"
|
|
81
|
+
id="use840" />
|
|
82
|
+
</mask>
|
|
83
|
+
<use
|
|
84
|
+
id="use843"
|
|
85
|
+
fill="#000000"
|
|
86
|
+
xlink:href="#path-1" />
|
|
87
|
+
</g>
|
|
88
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 58 (84663) - https://sketch.com -->
|
|
4
|
+
<title>pt-icon-new-layer</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<defs>
|
|
7
|
+
<path d="M13.9816117,6.27234954 L15.5,7.14 L15.49,7.15 C15.79,7.32 16,7.63 16,8 C16,8.37 15.79,8.68 15.49,8.85 L15.5,8.86 L8.5,12.86 L8.49,12.85 C8.34,12.94 8.18,13 8,13 C7.82,13 7.66,12.94 7.51,12.85 L7.5,12.86 L0.5,8.86 L0.51,8.85 C0.21,8.68 0,8.37 0,8 C0,7.63 0.21,7.32 0.51,7.14 L0.5,7.13 L7.5,3.13 L7.51,3.15 C7.66,3.06 7.82,3 8,3 C8.08626374,3 8.167934,3.01378043 8.24611149,3.03803921 C8.08923388,3.32345769 8,3.651308 8,4 C8,5.1045695 8.8954305,6 10,6 C10,7.1045695 10.8954305,8 12,8 C13.0121896,8 13.8487598,7.2480836 13.9816117,6.27234954 Z M14,3 C14.55,3 15,3.45 15,4 C15,4.55 14.55,5 14,5 L13,5 L13,6 C13,6.55 12.55,7 12,7 C11.45,7 11,6.55 11,6 L11,5 L10,5 C9.45,5 9,4.55 9,4 C9,3.45 9.45,3 10,3 L11,3 L11,2 C11,1.45 11.45,1 12,1 C12.55,1 13,1.45 13,2 L13,3 L14,3 Z" id="path-1"></path>
|
|
8
|
+
</defs>
|
|
9
|
+
<g id="pt-icon-new-layer" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
+
<mask id="mask-2" fill="white">
|
|
11
|
+
<use xlink:href="#path-1"></use>
|
|
12
|
+
</mask>
|
|
13
|
+
<use id="path-1" fill="#000000" xlink:href="#path-1"></use>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
|
|
4
|
+
<title>reset</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="reset" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g transform="translate(10.000000, 10.000000) scale(-1, 1) translate(-10.000000, -10.000000) " fill="#000000" fill-rule="nonzero" id="Path">
|
|
8
|
+
<path d="M14,6 C14,6.55 14.45,7 15,7 L19,7 C19.55,7 20,6.55 20,6 L20,2 C20,1.45 19.55,1 19,1 C18.45,1 18,1.45 18,2 L18,4.05 C16.18,1.6 13.29,0 10,0 C4.48,0 0,4.48 0,10 C0,15.52 4.48,20 10,20 C15.52,20 20,15.52 20,10 C20,9.45 19.55,9 19,9 C18.45,9 18,9.45 18,10 C18,14.42 14.42,18 10,18 C5.58,18 2,14.42 2,10 C2,5.58 5.58,2 10,2 C12.53,2 14.77,3.17 16.24,5 L15,5 C14.45,5 14,5.45 14,6 Z"></path>
|
|
9
|
+
</g>
|
|
10
|
+
</g>
|
|
11
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
width="24"
|
|
12
|
+
height="24"
|
|
13
|
+
viewBox="0 0 24 24"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke="currentColor"
|
|
16
|
+
fill="none"
|
|
17
|
+
stroke-linecap="round"
|
|
18
|
+
stroke-linejoin="round"
|
|
19
|
+
version="1.1"
|
|
20
|
+
id="svg16"
|
|
21
|
+
sodipodi:docname="sub-chan2.svg"
|
|
22
|
+
inkscape:version="1.0.2 (e86c8708, 2021-01-15)">
|
|
23
|
+
<metadata
|
|
24
|
+
id="metadata22">
|
|
25
|
+
<rdf:RDF>
|
|
26
|
+
<cc:Work
|
|
27
|
+
rdf:about="">
|
|
28
|
+
<dc:format>image/svg+xml</dc:format>
|
|
29
|
+
<dc:type
|
|
30
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
31
|
+
<dc:title></dc:title>
|
|
32
|
+
</cc:Work>
|
|
33
|
+
</rdf:RDF>
|
|
34
|
+
</metadata>
|
|
35
|
+
<defs
|
|
36
|
+
id="defs20">
|
|
37
|
+
<linearGradient
|
|
38
|
+
id="linearGradient896"
|
|
39
|
+
osb:paint="solid">
|
|
40
|
+
<stop
|
|
41
|
+
style="stop-color:#000000;stop-opacity:1;"
|
|
42
|
+
offset="0"
|
|
43
|
+
id="stop894" />
|
|
44
|
+
</linearGradient>
|
|
45
|
+
</defs>
|
|
46
|
+
<sodipodi:namedview
|
|
47
|
+
pagecolor="#ffffff"
|
|
48
|
+
bordercolor="#666666"
|
|
49
|
+
borderopacity="1"
|
|
50
|
+
objecttolerance="10"
|
|
51
|
+
gridtolerance="10"
|
|
52
|
+
guidetolerance="10"
|
|
53
|
+
inkscape:pageopacity="0"
|
|
54
|
+
inkscape:pageshadow="2"
|
|
55
|
+
inkscape:window-width="1222"
|
|
56
|
+
inkscape:window-height="836"
|
|
57
|
+
id="namedview18"
|
|
58
|
+
showgrid="false"
|
|
59
|
+
inkscape:zoom="26.202672"
|
|
60
|
+
inkscape:cx="11.46033"
|
|
61
|
+
inkscape:cy="11.405643"
|
|
62
|
+
inkscape:window-x="109"
|
|
63
|
+
inkscape:window-y="23"
|
|
64
|
+
inkscape:window-maximized="0"
|
|
65
|
+
inkscape:current-layer="svg16"
|
|
66
|
+
inkscape:document-rotation="0" />
|
|
67
|
+
<path
|
|
68
|
+
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.0732824;stroke-opacity:1;opacity:1"
|
|
69
|
+
d="M 1.1369316,19.665691 C 0.72594064,19.527178 0.39601564,19.208275 0.24266664,18.8013 c -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.401486 0.598892,-0.71102 1.04339196,-0.794696 0.217352,-0.04092 4.3075613,-0.04388 7.1491983,-0.0052 l 1.7038171,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.931686 0.801691,1.514261 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.3969461,0.0079 c -4.3515873,0.0078 -4.3992563,0.0071 -4.6206403,-0.0675 z"
|
|
70
|
+
id="path5408-6-2-8-9-3" />
|
|
71
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
width="24"
|
|
12
|
+
height="24"
|
|
13
|
+
viewBox="0 0 24 24"
|
|
14
|
+
stroke-width="2"
|
|
15
|
+
stroke="currentColor"
|
|
16
|
+
fill="none"
|
|
17
|
+
stroke-linecap="round"
|
|
18
|
+
stroke-linejoin="round"
|
|
19
|
+
version="1.1"
|
|
20
|
+
id="svg16"
|
|
21
|
+
sodipodi:docname="sub-cube2.svg"
|
|
22
|
+
inkscape:version="1.0.2 (e86c8708, 2021-01-15)">
|
|
23
|
+
<metadata
|
|
24
|
+
id="metadata22">
|
|
25
|
+
<rdf:RDF>
|
|
26
|
+
<cc:Work
|
|
27
|
+
rdf:about="">
|
|
28
|
+
<dc:format>image/svg+xml</dc:format>
|
|
29
|
+
<dc:type
|
|
30
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
31
|
+
<dc:title />
|
|
32
|
+
</cc:Work>
|
|
33
|
+
</rdf:RDF>
|
|
34
|
+
</metadata>
|
|
35
|
+
<defs
|
|
36
|
+
id="defs20">
|
|
37
|
+
<linearGradient
|
|
38
|
+
id="linearGradient896"
|
|
39
|
+
osb:paint="solid">
|
|
40
|
+
<stop
|
|
41
|
+
style="stop-color:#000000;stop-opacity:1;"
|
|
42
|
+
offset="0"
|
|
43
|
+
id="stop894" />
|
|
44
|
+
</linearGradient>
|
|
45
|
+
</defs>
|
|
46
|
+
<sodipodi:namedview
|
|
47
|
+
pagecolor="#ffffff"
|
|
48
|
+
bordercolor="#666666"
|
|
49
|
+
borderopacity="1"
|
|
50
|
+
objecttolerance="10"
|
|
51
|
+
gridtolerance="10"
|
|
52
|
+
guidetolerance="10"
|
|
53
|
+
inkscape:pageopacity="0"
|
|
54
|
+
inkscape:pageshadow="2"
|
|
55
|
+
inkscape:window-width="1222"
|
|
56
|
+
inkscape:window-height="836"
|
|
57
|
+
id="namedview18"
|
|
58
|
+
showgrid="false"
|
|
59
|
+
inkscape:zoom="26.202672"
|
|
60
|
+
inkscape:cx="11.46033"
|
|
61
|
+
inkscape:cy="11.405643"
|
|
62
|
+
inkscape:window-x="109"
|
|
63
|
+
inkscape:window-y="23"
|
|
64
|
+
inkscape:window-maximized="0"
|
|
65
|
+
inkscape:current-layer="svg16"
|
|
66
|
+
inkscape:document-rotation="0" />
|
|
67
|
+
<path
|
|
68
|
+
style="fill:#eeeeee;fill-opacity:1;stroke:#eeeeee;stroke-width:0.0732824;stroke-opacity:1"
|
|
69
|
+
d="M 13.605459,7.1532914 C 13.194468,7.014778 12.864543,6.695875 12.711194,6.2889 c -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.4014861 0.598892,-0.7110201 1.043392,-0.7946961 0.217352,-0.04092 4.307561,-0.04388 7.149198,-0.0052 l 1.703817,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.9316861 0.801691,1.5142611 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.0499444 l -0.246403,0.116726 -4.396946,0.0079 c -4.351587,0.0078 -4.399256,0.0071 -4.62064,-0.0675 z"
|
|
70
|
+
id="path5408-6-2-8-9-3-73" />
|
|
71
|
+
<path
|
|
72
|
+
style="fill:#e6e6e6;fill-opacity:1;stroke:#e6e6e6;stroke-width:0.0732824;stroke-opacity:1"
|
|
73
|
+
d="m 11.697257,9.2141492 c -0.410991,-0.138513 -0.740916,-0.457416 -0.894265,-0.864391 -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.401486 0.598892,-0.71102 1.043392,-0.794696 0.217352,-0.04092 4.307561,-0.04388 7.149198,-0.0052 l 1.703817,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.931686 0.801691,1.514261 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.396946,0.0079 c -4.351587,0.0078 -4.399256,0.0071 -4.62064,-0.0675 z"
|
|
74
|
+
id="path5408-6-2-8-9-3-8" />
|
|
75
|
+
<path
|
|
76
|
+
style="fill:#d1d1d1;fill-opacity:1;stroke:#d1d1d1;stroke-width:0.0732824;stroke-opacity:1"
|
|
77
|
+
d="m 9.4455781,11.160516 c -0.410991,-0.138513 -0.740916,-0.457416 -0.894265,-0.864391 -0.115099,-0.3054609 -0.09215,-0.7829999 0.05208,-1.0838379 0.192491,-0.401486 0.598892,-0.71102 1.043392,-0.794696 0.217352,-0.04092 4.3075609,-0.04388 7.1491979,-0.0052 l 1.703817,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.931686 0.801691,1.5142609 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.396946,0.0079 c -4.3515869,0.0078 -4.3992559,0.0071 -4.6206399,-0.0675 z"
|
|
78
|
+
id="path5408-6-2-8-9-3-2" />
|
|
79
|
+
<path
|
|
80
|
+
style="fill:#bfbfbf;fill-opacity:1;stroke:#bfbfbf;stroke-width:0.0732824;stroke-opacity:1"
|
|
81
|
+
d="m 7.4228835,13.259538 c -0.410991,-0.138513 -0.740916,-0.457416 -0.894265,-0.864391 -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.401486 0.598892,-0.71102 1.043392,-0.794696 0.217352,-0.04092 4.3075615,-0.04388 7.1491985,-0.0052 l 1.703817,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.931686 0.801691,1.514261 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.396946,0.0079 c -4.3515875,0.0078 -4.3992565,0.0071 -4.6206405,-0.0675 z"
|
|
82
|
+
id="path5408-6-2-8-9-3-0" />
|
|
83
|
+
<path
|
|
84
|
+
style="fill:#a6a6a6;fill-opacity:1;stroke:#a6a6a6;stroke-width:0.0732824;stroke-opacity:1"
|
|
85
|
+
d="m 5.3238609,15.434889 c -0.410991,-0.138513 -0.740916,-0.457416 -0.894265,-0.864391 -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.401486 0.598892,-0.71102 1.043392,-0.794696 0.217352,-0.04092 4.3075615,-0.04388 7.1491981,-0.0052 l 1.703817,0.02321 0.21125,0.10358 c 0.573861,0.281375 0.918154,0.931686 0.801691,1.514261 -0.09566,0.478493 -0.379136,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.3969456,0.0079 c -4.3515875,0.0078 -4.3992565,0.0071 -4.6206405,-0.0675 z"
|
|
86
|
+
id="path5408-6-2-8-9-3-3" />
|
|
87
|
+
<path
|
|
88
|
+
style="fill:#7f7f7f;fill-opacity:1;stroke:#7f7f7f;stroke-width:0.0732824;stroke-opacity:1"
|
|
89
|
+
d="m 3.2248383,17.572076 c -0.410991,-0.138513 -0.740916,-0.457416 -0.894265,-0.864391 -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.401486 0.598892,-0.71102 1.043392,-0.794696 0.217352,-0.04092 4.307561,-0.04388 7.1491977,-0.0052 l 1.703817,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.931686 0.801691,1.514261 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.3969457,0.0079 c -4.351587,0.0078 -4.399256,0.0071 -4.62064,-0.0675 z"
|
|
90
|
+
id="path5408-6-2-8-9-3-7" />
|
|
91
|
+
<path
|
|
92
|
+
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.0732824;stroke-opacity:1;opacity:1"
|
|
93
|
+
d="M 1.1369316,19.665691 C 0.72594064,19.527178 0.39601564,19.208275 0.24266664,18.8013 c -0.115099,-0.305461 -0.09215,-0.783 0.05208,-1.083838 0.192491,-0.401486 0.598892,-0.71102 1.04339196,-0.794696 0.217352,-0.04092 4.3075613,-0.04388 7.1491983,-0.0052 l 1.7038171,0.02321 0.21125,0.10358 c 0.573862,0.281375 0.918154,0.931686 0.801691,1.514261 -0.09566,0.478493 -0.379135,0.849066 -0.803179,1.049944 l -0.246403,0.116726 -4.3969461,0.0079 c -4.3515873,0.0078 -4.3992563,0.0071 -4.6206403,-0.0675 z"
|
|
94
|
+
id="path5408-6-2-8-9-3" />
|
|
95
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
|
5
|
+
<g id="zoom_to_fit_1_">
|
|
6
|
+
<g>
|
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1,7c0.55,0,1-0.45,1-1V2h4c0.55,0,1-0.45,1-1c0-0.55-0.45-1-1-1H1
|
|
8
|
+
C0.45,0,0,0.45,0,1v5C0,6.55,0.45,7,1,7z M6,8c0-0.55-0.45-1-1-1C4.72,7,4.47,7.11,4.29,7.29l-2,2C2.11,9.47,2,9.72,2,10
|
|
9
|
+
c0,0.28,0.11,0.53,0.29,0.71l2,2C4.47,12.89,4.72,13,5,13c0.55,0,1-0.45,1-1c0-0.28-0.11-0.53-0.29-0.71L4.41,10l1.29-1.29
|
|
10
|
+
C5.89,8.53,6,8.28,6,8z M8,6c0.28,0,0.53-0.11,0.71-0.29L10,4.41l1.29,1.29C11.47,5.89,11.72,6,12,6c0.55,0,1-0.45,1-1
|
|
11
|
+
c0-0.28-0.11-0.53-0.29-0.71l-2-2C10.53,2.11,10.28,2,10,2S9.47,2.11,9.29,2.29l-2,2C7.11,4.47,7,4.72,7,5C7,5.55,7.45,6,8,6z
|
|
12
|
+
M6,18H2v-4c0-0.55-0.45-1-1-1s-1,0.45-1,1v5c0,0.55,0.45,1,1,1h5c0.55,0,1-0.45,1-1C7,18.45,6.55,18,6,18z M14,12
|
|
13
|
+
c0,0.55,0.45,1,1,1c0.28,0,0.53-0.11,0.71-0.29l2-2C17.89,10.53,18,10.28,18,10c0-0.28-0.11-0.53-0.29-0.71l-2-2
|
|
14
|
+
C15.53,7.11,15.28,7,15,7c-0.55,0-1,0.45-1,1c0,0.28,0.11,0.53,0.29,0.71L15.59,10l-1.29,1.29C14.11,11.47,14,11.72,14,12z M19,0
|
|
15
|
+
h-5c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1h4v4c0,0.55,0.45,1,1,1s1-0.45,1-1V1C20,0.45,19.55,0,19,0z M12,14
|
|
16
|
+
c-0.28,0-0.53,0.11-0.71,0.29L10,15.59l-1.29-1.29C8.53,14.11,8.28,14,8,14c-0.55,0-1,0.45-1,1c0,0.28,0.11,0.53,0.29,0.71l2,2
|
|
17
|
+
C9.47,17.89,9.72,18,10,18s0.53-0.11,0.71-0.29l2-2C12.89,15.53,13,15.28,13,15C13,14.45,12.55,14,12,14z M19,13
|
|
18
|
+
c-0.55,0-1,0.45-1,1v4h-4c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1h5c0.55,0,1-0.45,1-1v-5C20,13.45,19.55,13,19,13z"/>
|
|
19
|
+
</g>
|
|
20
|
+
</g>
|
|
21
|
+
</svg>
|
cubevis/__init__.py
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
########################################################################
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2021,2022
|
|
4
|
+
# Associated Universities, Inc. Washington DC, USA.
|
|
5
|
+
#
|
|
6
|
+
# This script is free software; you can redistribute it and/or modify it
|
|
7
|
+
# under the terms of the GNU Library General Public License as published by
|
|
8
|
+
# the Free Software Foundation; either version 2 of the License, or (at your
|
|
9
|
+
# option) any later version.
|
|
10
|
+
#
|
|
11
|
+
# This library is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
|
|
14
|
+
# License for more details.
|
|
15
|
+
#
|
|
16
|
+
# You should have received a copy of the GNU Library General Public License
|
|
17
|
+
# along with this library; if not, write to the Free Software Foundation,
|
|
18
|
+
# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
|
|
19
|
+
#
|
|
20
|
+
# Correspondence concerning AIPS++ should be adressed as follows:
|
|
21
|
+
# Internet email: casa-feedback@nrao.edu.
|
|
22
|
+
# Postal address: AIPS++ Project Office
|
|
23
|
+
# National Radio Astronomy Observatory
|
|
24
|
+
# 520 Edgemont Road
|
|
25
|
+
# Charlottesville, VA 22903-2475 USA
|
|
26
|
+
#
|
|
27
|
+
########################################################################
|
|
28
|
+
'''cubevis provides a number of python command line tools which can be
|
|
29
|
+
used to build GUI applications for astronomy. It also contains some
|
|
30
|
+
applications turn-key applications'''
|
|
31
|
+
|
|
32
|
+
import os as __os
|
|
33
|
+
|
|
34
|
+
try:
|
|
35
|
+
from .__version__ import __version__
|
|
36
|
+
except ModuleNotFoundError:
|
|
37
|
+
###
|
|
38
|
+
### __version__.py is generated as part of the build, but if the source tree
|
|
39
|
+
### for cubevis is used directly for development, no __version__.py will be
|
|
40
|
+
### available so set it to a default value...
|
|
41
|
+
###
|
|
42
|
+
__version__ = {}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def xml_interface_defs( ):
|
|
46
|
+
'''This function may eventually return XML files for use in generating casashell bindings. An
|
|
47
|
+
indentically named function provided by casatasks allows cubevis to generate an
|
|
48
|
+
interactive clean task interface using the tclean XML file from casatasks.
|
|
49
|
+
'''
|
|
50
|
+
return { }
|
|
51
|
+
|
|
52
|
+
__mustache_interface_templates__ = { 'iclean': __os.path.join( __os.path.dirname(__file__), "private", "casashell", "iclean.mustache" ) }
|
|
53
|
+
def mustache_interface_templates( ):
|
|
54
|
+
'''This provides a list of mustache files provided by cubevis. It may eventually allow
|
|
55
|
+
casashell to generate all of its bindings at startup time. This would allow casashell
|
|
56
|
+
to be consistent with any version of casatasks that is availale.
|
|
57
|
+
'''
|
|
58
|
+
return __mustache_interface_templates__
|