cubevis 0.5.13__py3-none-any.whl → 0.5.14__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/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.5.13'
1
+ __version__ = '0.5.14'
cubevis/toolbox/_cube.py CHANGED
@@ -881,7 +881,7 @@ class CubeMask:
881
881
  ### power: 𝑦=(𝛼^𝑥−1)/(𝛼−1)
882
882
  self._cm_adjust['alpha-value'] = TextInput( value="1000", prefix="alpha", max_width=170, visible=False )
883
883
  self._cm_adjust['gamma-value'] = TextInput( value="1", prefix="gamma", max_width=170, visible=False )
884
- self._cm_adjust['equation'] = Div(text='''<math><mrow><mi>y</mi><mo>=</mo><mi>x</mi></mrow></math>''') # linear
884
+ self._cm_adjust['equation'] = Div(text='''<math><mrow><mi>y</mi><mo>=</mo><mi>x</mi></mrow></math>''', margin=(12, 0, 0, 0)) # linear
885
885
  self._cm_adjust['scaling'] = Dropdown( label='linear',
886
886
  menu=[ ('linear', 'linear'), ('log', 'log'), ('sqrt','sqrt'),
887
887
  ('square', 'square'), ('gamma', 'gamma'), ('power', 'power') ],
@@ -1048,6 +1048,7 @@ class CubeMask:
1048
1048
 
1049
1049
  return dict( result='failure', update={ } )
1050
1050
 
1051
+ scaling_background = '#f8f8f8'
1051
1052
  return column( self._cm_adjust['fig'],
1052
1053
  row( Tip( self._cm_adjust['min input'],
1053
1054
  tooltip=Tooltip( content=HTML("set minimum clip here or drag the left red line above"),
@@ -1055,16 +1056,18 @@ class CubeMask:
1055
1056
  Tip( self._cm_adjust['max input'],
1056
1057
  tooltip=Tooltip( content=HTML("set maximum clip here or drag the right red line above"),
1057
1058
  position="top_left" ) ), width_policy='min' ),
1058
- row( Tip( self._cm_adjust['scaling'],
1059
- tooltip=Tooltip( content=HTML('scaling function applied to image intensities'),
1060
- position="top" ) ),
1061
- self._cm_adjust['equation'] ),
1062
- row( Tip( self._cm_adjust['alpha-value'],
1063
- tooltip=Tooltip( content=HTML('set alpha value as indicated in the equation'),
1064
- position="top" ) ),
1065
- Tip( self._cm_adjust['gamma-value'],
1066
- tooltip=Tooltip( content=HTML('set gamma value as indicated in the equation'),
1067
- position="top" ) ) ),
1059
+ column( Div(text="<small>scaling</small>", styles={'background-color': scaling_background, 'margin': '0px'}),
1060
+ row( Tip( self._cm_adjust['scaling'],
1061
+ tooltip=Tooltip( content=HTML('scaling function applied to image intensities'),
1062
+ position="top" ) ),
1063
+ self._cm_adjust['equation'] ),
1064
+ row( Tip( self._cm_adjust['alpha-value'],
1065
+ tooltip=Tooltip( content=HTML('set alpha value as indicated in the equation'),
1066
+ position="top" ) ),
1067
+ Tip( self._cm_adjust['gamma-value'],
1068
+ tooltip=Tooltip( content=HTML('set gamma value as indicated in the equation'),
1069
+ position="top" ) ) ),
1070
+ width=325, styles={'background-color': scaling_background, 'border': '1px solid black', 'padding': '10px'} ),
1068
1071
  sizing_mode="scale_width" )
1069
1072
 
1070
1073
  def bitmask_ctrl( self, reuse=None, **kw ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cubevis
3
- Version: 0.5.13
3
+ Version: 0.5.14
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>
@@ -111,7 +111,7 @@ cubevis/remote/_local.py,sha256=PcPCFcwttTFZd3O33-5pqDuGKQKK6CA0gz1MTIkTiNI,1032
111
111
  cubevis/remote/_remote_kernel.py,sha256=wfu7ZzKn-oCxZxzDIkC5puBvGf8WbCLYL3CzM56_FNc,2652
112
112
  cubevis/toolbox/__init__.py,sha256=VqxO5Izv0nEjhPbqTUH1jo8SQoyj5YrSbs7m42N8Rm0,1433
113
113
  cubevis/toolbox/_app_context.py,sha256=0tRY2SSbSCM6RKLFs_T707_ehWkJXPvnLlE1P9cLXJY,3024
114
- cubevis/toolbox/_cube.py,sha256=bee3159jtNh_Ls4oF2rtEL5qbp_xQt2tep4TVIlVFUg,293778
114
+ cubevis/toolbox/_cube.py,sha256=Qx0ZMfIq6Qw82DPGVeupEF0c4jCzcWIVN8OcSpfN0Ew,294187
115
115
  cubevis/toolbox/_region_list.py,sha256=_1RvnXwqMoaAq8CPy-6IyhabLi_snXqO566onehI2y0,8957
116
116
  cubevis/utils/_ResourceManager.py,sha256=SaaR29etabRiKxmUK-aWvAm4v_OPFJH8CX7bNFm0Lgo,3410
117
117
  cubevis/utils/__init__.py,sha256=bVAMnKLIVmQM6ShL_deOuHW0Zi2wcDP8lh5agWRRDDc,23190
@@ -125,8 +125,8 @@ cubevis/utils/_pkgs.py,sha256=mu2CCzndmJZYP81UkFhxveW_CisWLUvagJVolHOEVgM,2294
125
125
  cubevis/utils/_regions.py,sha256=TdAg4ZUUyhg3nFmX9_KLboqmc0LkyOdEW8M1WDR5Udk,1669
126
126
  cubevis/utils/_static.py,sha256=rN-sqXNqQ5R2M3wmPHU1GPP5OTyyWQlUPRuimCrht-g,2347
127
127
  cubevis/utils/_tiles.py,sha256=A9W1X61VOhBMTOKXVajzOIoiV2FBdO5N2SFB9SUpDOo,7336
128
- cubevis/__version__.py,sha256=OYo7Ah0wICBCFc4dNdr54AMBYTK_lp1kbfjO8-QZR9E,22
129
- cubevis-0.5.13.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
130
- cubevis-0.5.13.dist-info/METADATA,sha256=M40RMt0Lxgq23-vGyqIEYLW_sdbUhzTPkf_N8pHxUpI,2629
131
- cubevis-0.5.13.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
132
- cubevis-0.5.13.dist-info/RECORD,,
128
+ cubevis/__version__.py,sha256=b0SXIqxAeGNbHqmEF6canIj9jyDgtVMVv8z82e2cFm0,22
129
+ cubevis-0.5.14.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
130
+ cubevis-0.5.14.dist-info/METADATA,sha256=tnS8xGsFgp9tzj35CfXhVLoG5qZKaL7kkrud-0Cm8ao,2629
131
+ cubevis-0.5.14.dist-info/licenses/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
132
+ cubevis-0.5.14.dist-info/RECORD,,