- Timestamp:
- Aug 28, 2014 9:44:49 AM (10 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:
- a9807efa
- Parents:
- 1790664
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/perspectives/fitting/resultpanel.py
red4aef2 rc915053 60 60 if hasattr(result, 'uncertainty_state'): 61 61 from bumps.gui.uncertainty_view import UncertaintyView, CorrelationView, TraceView 62 from bumps.dream.stats import format_vars 62 from bumps.dream.stats import var_stats,format_vars 63 stats = var_stats(result.uncertainty_state.draw()) 64 msg = format_vars(stats) 63 65 self.get_panel(CorrelationView).update(result.uncertainty_state) 64 self.get_panel(UncertaintyView).update( result.uncertainty_state)66 self.get_panel(UncertaintyView).update((result.uncertainty_state,stats)) 65 67 self.get_panel(TraceView).update(result.uncertainty_state) 66 68 # TODO: stats should be stored in result rather than computed in bumps UncertaintyView 67 msg = format_vars(self.get_panel(UncertaintyView).stats)68 69 wx.PostEvent(self.frame.parent, 69 70 StatusEvent(status=msg, info="info"))
Note: See TracChangeset
for help on using the changeset viewer.