Package reflectometry :: Package model1d :: Package tableview :: Module customConstrain

Module customConstrain

source code

Classes
  CustomConstrain
Panel to view the constrains and optimized variables only.
  ConstrainViewerGrid
The grid to show the constrains and variables
  CustomConstrainTable
Table to show the parameter constrains only
Variables
  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
  ROW_LABEL_DEFAULT_SIZE = 30
  ANGSTROM_SYMBOL = u'\u212B'
  DEGREE_SYMBOL = u'\u00B0'
  SET_OPT_COLOR = True
  COL_LABELS = 'Model\n Name', 'Layer\n #', 'Layer Name', 'Thick...
  COL_LABELS2 = 'Model\n Name', 'Layer\n #', 'Layer Name', 'Thic...
  wxID_Align_Center
  wxID_Align_Right
  wxID_Align_Left
  wxID_Tab_CUSTOM
  wxID_R2Staj_Fmt
  wxID_Ro2Staj_Fmt
  wxID_Switch_Fmt
Variables Details

COL_LABELS

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

COL_LABELS2

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