Changeset 416


Ignore:
Timestamp:
Nov 15, 2011 2:41:30 PM (11 years ago)
Author:
toby
Message:

use unicode with backslash x (micron symbol)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r411 r416  
    25892589                    isoSizer.Add(TopSizer(' Size model: ',['isotropic','uniaxial','ellipsoidal'],
    25902590                        'Size',OnSizeType),0,wx.ALIGN_CENTER_VERTICAL)
    2591                     isoSizer.Add(IsoSizer(' Cryst. size(\xb5m): ','Size','%.3f',
     2591                    isoSizer.Add(IsoSizer(u' Cryst. size(\xb5m): ','Size','%.3f',
    25922592                        OnSizeVal,OnSizeRef),0,wx.ALIGN_CENTER_VERTICAL)
    25932593                    sizeSizer.Add(isoSizer)
     
    25982598                    uniSizer.Add(UniSizer('Size',OnSizeAxis),0,wx.ALIGN_CENTER_VERTICAL)
    25992599                    sizeSizer.Add(uniSizer)
    2600                     sizeSizer.Add(UniDataSizer('size(\xb5m): ','Size','%.3f',OnSizeVal,OnSizeRef))
     2600                    sizeSizer.Add(UniDataSizer(u'size(\xb5m): ','Size','%.3f',OnSizeVal,OnSizeRef))
    26012601                elif UseList[item]['Size'][0] == 'ellipsoidal':
    26022602                    ellSizer = wx.BoxSizer(wx.HORIZONTAL)
    26032603                    ellSizer.Add(TopSizer(' Size model: ',['isotropic','uniaxial','ellipsoidal'],
    26042604                        'Size',OnSizeType),0,wx.ALIGN_CENTER_VERTICAL)
    2605                     ellSizer.Add(wx.StaticText(dataDisplay,-1,' Coefficients(\xb5m): '),0,wx.ALIGN_CENTER_VERTICAL)
     2605                    ellSizer.Add(wx.StaticText(dataDisplay,-1,u' Coefficients(\xb5m): '),0,wx.ALIGN_CENTER_VERTICAL)
    26062606                    sizeSizer.Add(ellSizer)
    26072607                    sizeSizer.Add(EllSizeDataSizer())
  • trunk/GSASIIpwdGUI.py

    r408 r416  
    741741    parms = [['Gonio. radius',' Goniometer radius(mm): ','%.2f',]]
    742742    if data['Type'] == 'Debye-Scherrer':
    743         parms += [['DisplaceX',' Sample X displacement(\xb5m): ','%.2f',],
    744             ['DisplaceY',' Sample Y displacement(\xb5m): ','%.2f',],
    745             ['Absorption',' Sample absorption(\xb5r): ','%.4f',],]
     743        parms += [['DisplaceX',u' Sample X displacement(\xb5m): ','%.2f',],
     744            ['DisplaceY',u' Sample Y displacement(\xb5m): ','%.2f',],
     745            ['Absorption',u' Sample absorption(\xb5r): ','%.4f',],]
    746746    elif data['Type'] == 'Bragg-Brentano':
    747         parms += [['Shift',' Sample displacement(\xb5m): ','%.2f',],
    748             ['Transparency',' Sample transparency(1/\xb5eff,cm): ','%.4f'],]
     747        parms += [['Shift',u' Sample displacement(\xb5m): ','%.2f',],
     748            ['Transparency',u' Sample transparency(1/\xb5eff,cm): ','%.4f'],]
    749749    parms.append(['Omega','Goniometer omega:','%.2f'])
    750750    parms.append(['Chi','Goniometer chi:','%.2f'])
Note: See TracChangeset for help on using the changeset viewer.