cubevis 0.5.25__py3-none-any.whl → 0.5.27__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.25'
1
+ __version__ = '0.5.27'
cubevis/toolbox/_cube.py CHANGED
@@ -1432,6 +1432,7 @@ class CubeMask:
1432
1432
  init_args=dict( annotations=self._annotations, ctrl=self._pipe['control'], ids=self._ids,
1433
1433
  id=self._image_source.id,
1434
1434
  stats_source=self._statistics_source, chan_slider=self._slider,
1435
+ goto_txt=self._goto_txt,
1435
1436
  mask_region_button=None,
1436
1437
  mask_region_icons=None,
1437
1438
  mask_region_ds=self._bitmask_contour_maskmod_ds,
@@ -1456,6 +1457,7 @@ class CubeMask:
1456
1457
  ###
1457
1458
  init_args=dict( annotations=self._annotations, ctrl=self._pipe['control'], ids=self._ids,
1458
1459
  stats_source=self._statistics_source, chan_slider=self._slider,
1460
+ goto_txt=self._goto_txt,
1459
1461
  mask_region_button=self._mask_add_sub['mask'],
1460
1462
  mask_region_icons=self._mask_icons_,
1461
1463
  mask_region_ds=self._bitmask_contour_maskmod_ds,
@@ -3373,10 +3375,16 @@ class CubeMask:
3373
3375
  // wrap round to the first channel
3374
3376
  source.channel( 0, source.cur_chan[0] )
3375
3377
  if ( chan_slider ) { chan_slider.value = 0 }
3378
+ if ( goto_txt && goto_txt.value != chan_slider.value ) {
3379
+ goto_txt.value = String(chan_slider.value)
3380
+ }
3376
3381
  } else {
3377
3382
  // advance to the next channel
3378
3383
  source.channel( source.cur_chan[1] + 1, source.cur_chan[0] )
3379
3384
  if ( chan_slider ) { chan_slider.value = source.cur_chan[1] + 1 }
3385
+ if ( goto_txt && goto_txt.value != chan_slider.value ) {
3386
+ goto_txt.value = String(chan_slider.value)
3387
+ }
3380
3388
  } } )
3381
3389
  // previous channel -- all modes
3382
3390
  casalib.hotkeys( 'alt+down,ctrl+down,command+down', { scope: source._hotkeys.id},
@@ -3385,10 +3393,16 @@ class CubeMask:
3385
3393
  // advance to the prev channel
3386
3394
  source.channel( source.cur_chan[1] - 1, source.cur_chan[0] )
3387
3395
  if ( chan_slider ) { chan_slider.value = source.cur_chan[1] - 1 }
3396
+ if ( goto_txt && goto_txt.value != chan_slider.value ) {
3397
+ goto_txt.value = String(chan_slider.value)
3398
+ }
3388
3399
  } else {
3389
3400
  // wrap round to the last channel
3390
3401
  source.channel( source.num_chans[1] - 1, source.cur_chan[0] )
3391
3402
  if ( chan_slider ) { chan_slider.value = source.num_chans[1] - 1 }
3403
+ if ( goto_txt && goto_txt.value != chan_slider.value ) {
3404
+ goto_txt.value = String(chan_slider.value)
3405
+ }
3392
3406
  } } )
3393
3407
 
3394
3408
  // next polarization/stokes -- all modes
@@ -912,6 +912,7 @@ class InteractiveCleanUI:
912
912
  if ( ! b._window || b._window.closed ) {
913
913
  b._window = window.open("about:blank","Interactive Clean Log")
914
914
  b._window.document.write(format_log(b._log))
915
+ b._window.document.title = "Interactive Clean Log"
915
916
  b._window.document.close( )
916
917
  }''' ) )
917
918
 
@@ -911,6 +911,7 @@ class InteractiveCleanUI:
911
911
  if ( ! b._window || b._window.closed ) {
912
912
  b._window = window.open("about:blank","Interactive Clean Log")
913
913
  b._window.document.write(format_log(b._log))
914
+ b._window.document.title = "Interactive Clean Log"
914
915
  b._window.document.close( )
915
916
  }''' ) )
916
917
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cubevis
3
- Version: 0.5.25
3
+ Version: 0.5.27
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>
@@ -96,9 +96,9 @@ cubevis/remote/_local.py,sha256=PcPCFcwttTFZd3O33-5pqDuGKQKK6CA0gz1MTIkTiNI,1032
96
96
  cubevis/remote/_remote_kernel.py,sha256=wfu7ZzKn-oCxZxzDIkC5puBvGf8WbCLYL3CzM56_FNc,2652
97
97
  cubevis/toolbox/__init__.py,sha256=xzqwAG9863d7UKBVBRw7FrRUQbvCdFcLBq4vTpg63DU,1487
98
98
  cubevis/toolbox/_app_context.py,sha256=0tRY2SSbSCM6RKLFs_T707_ehWkJXPvnLlE1P9cLXJY,3024
99
- cubevis/toolbox/_cube.py,sha256=Jjf40aahUo6ZT9KP8b1RUbBtdd1CSLtE48RQF6q4EkQ,298496
100
- cubevis/toolbox/_interactive_clean_ui.mustache,sha256=EyihZ-ZNe1hMxdQfkH2lPEo_Km-Kb7ZVcDF3VBzuxNE,111910
101
- cubevis/toolbox/_interactive_clean_ui.py,sha256=FJdGxbdNHOVlSy0PZULQAUXwdVdAHBEpLGOTe-_0lHs,111821
99
+ cubevis/toolbox/_cube.py,sha256=k9y2KnGXmZa8LUTx7e6YVMSIBTN7D_8sE9Jv7oRMqf4,299958
100
+ cubevis/toolbox/_interactive_clean_ui.mustache,sha256=1vGWbm0_1vkd9cJSiAwjAGYCXbWxAmi_Ll9Dwo8wKxI,112022
101
+ cubevis/toolbox/_interactive_clean_ui.py,sha256=upKXlTUIuToZJEZPy3qBUfppgCfoLchEMqyByXQsQWA,111933
102
102
  cubevis/toolbox/_interactiveclean_wrappers.py,sha256=XqyCGz33CMDhszTxnwZ_3-64GszUK1XYnGKUOxl9sas,5071
103
103
  cubevis/toolbox/_region_list.py,sha256=_1RvnXwqMoaAq8CPy-6IyhabLi_snXqO566onehI2y0,8957
104
104
  cubevis/utils/_ResourceManager.py,sha256=SaaR29etabRiKxmUK-aWvAm4v_OPFJH8CX7bNFm0Lgo,3410
@@ -115,8 +115,8 @@ cubevis/utils/_pkgs.py,sha256=mu2CCzndmJZYP81UkFhxveW_CisWLUvagJVolHOEVgM,2294
115
115
  cubevis/utils/_regions.py,sha256=TdAg4ZUUyhg3nFmX9_KLboqmc0LkyOdEW8M1WDR5Udk,1669
116
116
  cubevis/utils/_static.py,sha256=rN-sqXNqQ5R2M3wmPHU1GPP5OTyyWQlUPRuimCrht-g,2347
117
117
  cubevis/utils/_tiles.py,sha256=A9W1X61VOhBMTOKXVajzOIoiV2FBdO5N2SFB9SUpDOo,7336
118
- cubevis/__version__.py,sha256=kSyf03ZyJGgJcFLGc0Q1b3QZ1UfFrJEhukKkhdMWiAM,22
119
- cubevis-0.5.25.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
120
- cubevis-0.5.25.dist-info/METADATA,sha256=_5negZulwCmL_4YPAbnW31Bod3XBEgsg3cv2xxPKmA8,2629
121
- cubevis-0.5.25.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
122
- cubevis-0.5.25.dist-info/RECORD,,
118
+ cubevis/__version__.py,sha256=D3KnqWLhEOflsxhBRg-IJobieoAgxcLEYGOcdU-Jfk0,22
119
+ cubevis-0.5.27.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
120
+ cubevis-0.5.27.dist-info/METADATA,sha256=LF-IkQ0bRLXzM6tcvSVJUELcu88dlK-DHOhLZ9hcYgo,2629
121
+ cubevis-0.5.27.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
122
+ cubevis-0.5.27.dist-info/RECORD,,