Changeset 3df5ecf in sasview
- Timestamp:
- Jul 19, 2012 12:41:56 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- a8d3b4f
- Parents:
- 07eb396
- Location:
- invariantview/src/sans/perspectives/invariant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/src/sans/perspectives/invariant/invariant_details.py
ree54fcf0 r3df5ecf 257 257 """ 258 258 uncertainty = "+/-" 259 unit_invariant = '[1/(cm * A )]'259 unit_invariant = '[1/(cm * A^3)]' 260 260 261 261 invariant_txt = wx.StaticText(self, -1, 'Q* from Data ') -
invariantview/src/sans/perspectives/invariant/invariant_panel.py
r07eb396 r3df5ecf 1314 1314 self.data_range_sizer = wx.BoxSizer(wx.HORIZONTAL) 1315 1315 #Sizer related to inputs 1316 self.sizer_input = wx.FlexGridSizer(2, 5, 0, 0)1316 self.sizer_input = wx.FlexGridSizer(2, 6, 0, 0) 1317 1317 #Sizer related to inputs 1318 1318 inputs_box = wx.StaticBox(self, -1, "Customized Inputs") … … 1686 1686 """ 1687 1687 unit_volume = '' 1688 unit_surface = ' '1688 unit_surface = '[1/A]' 1689 1689 uncertainty = "+/-" 1690 1690 volume_txt = wx.StaticText(self, -1, 'Volume Fraction') … … 1752 1752 """ 1753 1753 uncertainty = "+/-" 1754 unit_invariant = '[1/(cm * A )]'1754 unit_invariant = '[1/(cm * A^3)]' 1755 1755 invariant_total_txt = wx.StaticText(self, -1, 'Invariant Total [Q*]') 1756 1756 self.invariant_total_tcl = OutputTextCtrl(self, -1, … … 1788 1788 Draw widgets related to inputs 1789 1789 """ 1790 contrast_txt = wx.StaticText(self, -1, 'Contrast 1790 contrast_txt = wx.StaticText(self, -1, 'Contrast:') 1791 1791 self.contrast_tcl = InvTextCtrl(self, -1, size=(_BOX_WIDTH, 20), 1792 1792 style=0, name='contrast_tcl') … … 1794 1794 contrast_hint_txt = "Contrast" 1795 1795 self.contrast_tcl.SetToolTipString(contrast_hint_txt) 1796 contrast_unit_txt = wx.StaticText(self, -1, '[1/A^ (2)]')1796 contrast_unit_txt = wx.StaticText(self, -1, '[1/A^2]') 1797 1797 porod_const_txt = wx.StaticText(self, -1, 1798 'Porod Constant:\n(optional)\n') 1798 'Porod\nConstant:\n(optional)\n') 1799 porod_unit_txt = wx.StaticText(self, -1, '[1/(cm*A^4)]') 1799 1800 self.porod_constant_tcl = InvTextCtrl(self, -1, 1800 1801 size=(_BOX_WIDTH, 20), style=0, … … 1804 1805 self.porod_constant_tcl.SetToolTipString(porod_const_hint_txt) 1805 1806 1806 background_txt = wx.StaticText(self, -1, 'Background :')1807 background_txt = wx.StaticText(self, -1, 'Background:') 1807 1808 self.background_tcl = InvTextCtrl(self, -1, size=(_BOX_WIDTH, 20), 1808 1809 style=0, name='background_tcl') … … 1811 1812 self.background_tcl.SetToolTipString(background_hint_txt) 1812 1813 background_unit_txt = wx.StaticText(self, -1, '[1/cm]') 1813 scale_txt = wx.StaticText(self, -1, 'Scale :')1814 scale_txt = wx.StaticText(self, -1, 'Scale:') 1814 1815 self.scale_tcl = InvTextCtrl(self, -1, size=(_BOX_WIDTH, 20), style=0, 1815 1816 name='scale_tcl') … … 1820 1821 (self.background_tcl, 0, wx.LEFT|wx.BOTTOM, 5), 1821 1822 (background_unit_txt, 0, wx.LEFT|wx.BOTTOM, 5), 1822 (scale_txt, 0, wx.LEFT|wx.BOTTOM, 20),1823 (scale_txt, 0, wx.LEFT|wx.BOTTOM, 10), 1823 1824 (self.scale_tcl, 0, wx.LEFT|wx.BOTTOM|wx.RIGHT, 5), 1825 (10, 10), 1824 1826 (contrast_txt, 0, wx.LEFT|wx.BOTTOM, 5), 1825 1827 (self.contrast_tcl, 0, wx.LEFT|wx.BOTTOM, 5), 1826 1828 (contrast_unit_txt, 0, wx.LEFT|wx.BOTTOM, 5), 1827 (porod_const_txt, 0, wx.LEFT, 20), 1828 (self.porod_constant_tcl, 0, wx.LEFT|wx.BOTTOM|wx.RIGHT, 5)]) 1829 (porod_const_txt, 0, wx.LEFT, 10), 1830 (self.porod_constant_tcl, 0, wx.LEFT|wx.BOTTOM|wx.RIGHT, 5), 1831 (porod_unit_txt, 0, wx.LEFT|wx.BOTTOM, 5)]) 1829 1832 self.inputs_sizer.Add(self.sizer_input) 1830 1833
Note: See TracChangeset
for help on using the changeset viewer.