cubevis 0.5.15__py3-none-any.whl → 0.5.16__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.

Potentially problematic release.


This version of cubevis might be problematic. Click here for more details.

cubevis/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.5.15'
1
+ __version__ = '0.5.16'
@@ -41,10 +41,10 @@ from bokeh.io import reset_output as reset_bokeh_output
41
41
  from bokeh.io import output_notebook
42
42
  from bokeh.models.dom import HTML
43
43
  from bokeh.models.ui.tooltips import Tooltip
44
- from ..utils import resource_manager, reset_resource_manager, is_notebook
45
- from ..data import casaimage
46
- from ..bokeh.models import TipButton, Tip
47
- from ..utils import ContextMgrChain as CMC
44
+ from cubevis.utils import resource_manager, reset_resource_manager, is_notebook
45
+ from cubevis.data import casaimage
46
+ from cubevis.bokeh.models import TipButton, Tip
47
+ from cubevis.utils import ContextMgrChain as CMC
48
48
 
49
49
  class CreateMask:
50
50
  '''Class that can be used to launch a createmask GUI with ``CreateMask('test.im','mask.im')( )``.
@@ -53,7 +53,7 @@ class CreateMask:
53
53
  cube where each pixel is a 1 (masked) or a 0 (unmasked).
54
54
  '''
55
55
 
56
- def __stop( self ):
56
+ def __stop( self, _=None ):
57
57
  if not self.__result_future.done( ):
58
58
  self.__result_future.set_result(self.__retrieve_result( ))
59
59
 
@@ -310,7 +310,7 @@ class CreateMask:
310
310
  title='Spectrum' ) ] if imdetails['image-channels'] > 1 else [ ] ) +
311
311
  [ TabPanel( child=self._create_colormap_adjust(imdetails),
312
312
  title='Colormap' ),
313
- TabPanel( child=imdetails['gui']['cube'].statistics( ),
313
+ TabPanel( child=column( *imdetails['gui']['cube'].statistics( ) ),
314
314
  title='Statistics' ) ],
315
315
  width=500, sizing_mode='stretch_height', tabs_location='below' )
316
316
 
@@ -41,10 +41,10 @@ from bokeh.io import curdoc
41
41
  from bokeh.io import reset_output as reset_bokeh_output
42
42
  from bokeh.models.dom import HTML
43
43
  from bokeh.models.ui.tooltips import Tooltip
44
- from ..utils import resource_manager, reset_resource_manager, is_notebook
45
- from ..data import casaimage
46
- from ..bokeh.models import TipButton, Tip
47
- from ..utils import ContextMgrChain as CMC
44
+ from cubevis.utils import resource_manager, reset_resource_manager, is_notebook
45
+ from cubevis.data import casaimage
46
+ from cubevis.bokeh.models import TipButton, Tip
47
+ from cubevis.utils import ContextMgrChain as CMC
48
48
 
49
49
  class CreateRegion:
50
50
  '''Class that can be used to launch a createregion GUI with ``CreateRegion('test.im')( )``.
@@ -376,7 +376,7 @@ class CreateRegion:
376
376
  title='Spectrum' ) ] if imdetails['image-channels'] > 1 else [ ] ) +
377
377
  [ TabPanel( child=self._create_colormap_adjust(imdetails),
378
378
  title='Colormap' ),
379
- TabPanel( child=imdetails['gui']['cube'].statistics( ),
379
+ TabPanel( child=column( *imdetails['gui']['cube'].statistics( ) ),
380
380
  title='Statistics' ) ],
381
381
  width=500, sizing_mode='stretch_height', tabs_location='below' )
382
382
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cubevis
3
- Version: 0.5.15
3
+ Version: 0.5.16
4
4
  Summary: visualization toolkit and apps for casa
5
5
  License: LGPL
6
6
  Author-email: Darrell Schiebel <darrell@schiebel.us>,Pam Harris <pharris@nrao.edu>
@@ -71,8 +71,8 @@ cubevis/data/__init__.py,sha256=_j5cRA9l9Nl0ycL_SsbeLP1Uil_q1ldiVKJk5IeRFx8,77
71
71
  cubevis/data/casaimage/__init__.py,sha256=55ebo9hReK8DdnVDiFK25wYDGizQoRvjcKCIQCdgEck,3606
72
72
  cubevis/private/_gclean.py,sha256=ExdR6cRxSa6Xne2veGNKhbTtx-tXUIWr2htzEmEZ9Z4,41107
73
73
  cubevis/private/apps/__init__.py,sha256=NIC0XCfjInbAmteORFWtohMvq3Nf8EZ5bsvvUpDYSig,2679
74
- cubevis/private/apps/_createmask.py,sha256=bKFpME5MYhLh7HxlJZINBTwG25t0_T_d1nYrWYAWYPA,23527
75
- cubevis/private/apps/_createregion.py,sha256=ujLQeXl-afooRU0YLcJ43FMMDMU37SoHtuPJnwNHcEw,26667
74
+ cubevis/private/apps/_createmask.py,sha256=ErtBrOUq20_xZGXY4gw92lvs2D71SVxx5Osi-dNgW_I,23570
75
+ cubevis/private/apps/_createregion.py,sha256=z8vYIHfFWjIqg5_CECVFtF7wLhN7qFY8L09QB8UMfmU,26702
76
76
  cubevis/private/apps/_interactiveclean.mustache,sha256=vjTBSI8BlB8CIopu4oydrgeleOAwCjqWCh3Rwr_AALA,103811
77
77
  cubevis/private/apps/_interactiveclean.py,sha256=pGywKaty1rjW5uGblY3Nj5G22lGaOBvDuOM_z560Yps,241462
78
78
  cubevis/private/apps/_interactiveclean_wrappers.py,sha256=XqyCGz33CMDhszTxnwZ_3-64GszUK1XYnGKUOxl9sas,5071
@@ -105,8 +105,8 @@ cubevis/utils/_pkgs.py,sha256=mu2CCzndmJZYP81UkFhxveW_CisWLUvagJVolHOEVgM,2294
105
105
  cubevis/utils/_regions.py,sha256=TdAg4ZUUyhg3nFmX9_KLboqmc0LkyOdEW8M1WDR5Udk,1669
106
106
  cubevis/utils/_static.py,sha256=rN-sqXNqQ5R2M3wmPHU1GPP5OTyyWQlUPRuimCrht-g,2347
107
107
  cubevis/utils/_tiles.py,sha256=A9W1X61VOhBMTOKXVajzOIoiV2FBdO5N2SFB9SUpDOo,7336
108
- cubevis/__version__.py,sha256=AY1ui0mbvXZlpcjpLjHFuQpAuauOU39eXGAyXwQEiy0,22
109
- cubevis-0.5.15.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
110
- cubevis-0.5.15.dist-info/METADATA,sha256=gVDiVren7K70s3hkfcjp1zarq4_7g55-NS2XdI041FQ,2629
111
- cubevis-0.5.15.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
112
- cubevis-0.5.15.dist-info/RECORD,,
108
+ cubevis/__version__.py,sha256=_6KHqgtPyQLBiQOU1rUrhB57nuIpmZ1j6YyUkD-iteg,22
109
+ cubevis-0.5.16.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
110
+ cubevis-0.5.16.dist-info/METADATA,sha256=EXYvNF10hHylw8F6Ye5W-d5Al-fnUannCgKHE5qXdis,2629
111
+ cubevis-0.5.16.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
112
+ cubevis-0.5.16.dist-info/RECORD,,