Skip to content

Commit

Permalink
Merge pull request #991 from k8macarthur/Fix-to-TEMParametersUI
Browse files Browse the repository at this point in the history
Fix to TEMParametersUI
  • Loading branch information
francisco-dlp committed May 12, 2016
2 parents 509494f + 18c7064 commit c2a99da
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions hyperspy/gui/eds.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ class TEMParametersUI(t.HasTraits):

beam_energy = t.Float(t.Undefined,
label='Beam energy (keV)')
live_time = t.Float(t.Undefined,
label='Live time (s)')
real_time = t.Float(t.Undefined,
label='Real time (s)')
tilt_stage = t.Float(t.Undefined,
label='Stage tilt (degree)')
live_time = t.Float(t.Undefined,
label='Live time (s)')
beam_area = t.Float(t.Undefined,
label='Beam/probe area (nm^2)')
azimuth_angle = t.Float(t.Undefined,
label='Azimuth angle (degree)')
elevation_angle = t.Float(t.Undefined,
Expand All @@ -72,8 +76,10 @@ class TEMParametersUI(t.HasTraits):
traits_view = tu.View(
tu.Group('beam_energy',
'tilt_stage',
'beam_area',
'beam_current',
label='TEM', show_border=True),
tu.Group('live_time', 'azimuth_angle',
tu.Group('real_time', 'live_time', 'azimuth_angle',
'elevation_angle', 'energy_resolution_MnKa',
label='EDS', show_border=True),
kind='modal', buttons=[OKButton, CancelButton],
Expand Down

0 comments on commit c2a99da

Please sign in to comment.