cubevis 0.5.26__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 +1 -1
- cubevis/toolbox/_cube.py +14 -0
- {cubevis-0.5.26.dist-info → cubevis-0.5.27.dist-info}/METADATA +1 -1
- {cubevis-0.5.26.dist-info → cubevis-0.5.27.dist-info}/RECORD +6 -6
- {cubevis-0.5.26.dist-info → cubevis-0.5.27.dist-info}/WHEEL +0 -0
- {cubevis-0.5.26.dist-info → cubevis-0.5.27.dist-info}/licenses/LICENSE +0 -0
cubevis/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '0.5.
|
|
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
|
|
@@ -96,7 +96,7 @@ 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=
|
|
99
|
+
cubevis/toolbox/_cube.py,sha256=k9y2KnGXmZa8LUTx7e6YVMSIBTN7D_8sE9Jv7oRMqf4,299958
|
|
100
100
|
cubevis/toolbox/_interactive_clean_ui.mustache,sha256=1vGWbm0_1vkd9cJSiAwjAGYCXbWxAmi_Ll9Dwo8wKxI,112022
|
|
101
101
|
cubevis/toolbox/_interactive_clean_ui.py,sha256=upKXlTUIuToZJEZPy3qBUfppgCfoLchEMqyByXQsQWA,111933
|
|
102
102
|
cubevis/toolbox/_interactiveclean_wrappers.py,sha256=XqyCGz33CMDhszTxnwZ_3-64GszUK1XYnGKUOxl9sas,5071
|
|
@@ -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=
|
|
119
|
-
cubevis-0.5.
|
|
120
|
-
cubevis-0.5.
|
|
121
|
-
cubevis-0.5.
|
|
122
|
-
cubevis-0.5.
|
|
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,,
|
|
File without changes
|
|
File without changes
|