Package reflectometry :: Package model1d :: Package tableview :: Module customConstrainGrid

Module customConstrainGrid

source code

Classes
  CustomConstrainGrid
The grid to show the constrains and variables
  CustomConstrainTable
Table to show the parameter constrains only
Variables
  ROW_LABEL_DEFAULT_SIZE = 30
  SELECTED_COLOR = wx.Color(0, 255, 0)
  WARNING_COLOR = wx.Color(255, 0, 0)
  RoughFactor = numpy.sqrt(numpy.log(256.0))
  ReflFactor = 1.0e-6
  DEFAULT_PANEL_SIZE = 400, 300
  DEFAULT_GRID_SIZE = 400, 300
  ANGSTROM_SYMBOL = u'\u212B'
  DEGREE_SYMBOL = u'\u00B0'
  SET_OPT_COLOR = True
  COL_LABELS = 'Layer\n #', 'Layer Name', 'Thickness '+ ANGSTROM...
  COL_LABELS2 = 'Layer\n #', 'Layer Name', 'Thickness '+ ANGSTRO...
Variables Details

COL_LABELS

Value:
'Layer\n #', 'Layer Name', 'Thickness '+ ANGSTROM_SYMBOL+ '\nDepth', '\
Roughness 1/'+ ANGSTROM_SYMBOL+ '\nRO', 'Number density '+ '\nRho', 'A\
bsorption '+ ANGSTROM_SYMBOL+ '\nMu', 'Mag. density '+ ANGSTROM_SYMBOL\
+ '\nPhi', 'Mag. theta '+ DEGREE_SYMBOL+ '\nTheta'

COL_LABELS2

Value:
'Layer\n #', 'Layer Name', 'Thickness '+ ANGSTROM_SYMBOL+ '\nDepth', '\
Roughness 1/'+ ANGSTROM_SYMBOL+ '\nRO', 'Number density '+ '\nRho (10^\
6)', 'Absorption '+ ANGSTROM_SYMBOL+ '\nMu (10^6)', 'Mag. density '+ A\
NGSTROM_SYMBOL+ '\nPhi(10^6)', 'Mag. theta '+ DEGREE_SYMBOL+ '\nTheta'