Changeset 3a39c2e in sasview for src/examples/test_chisq_panel.py
- Timestamp:
- Feb 13, 2015 3:53:03 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:
- 8c9ffde
- Parents:
- 79492222
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/test_chisq_panel.py
rf468791 r3a39c2e 27 27 28 28 import wx 29 from sa ns.plottools.PlotPanel import PlotPanel30 from sa ns.plottools.plottables import Plottable, Graph, Data1D, Theory1D29 from sas.plottools.PlotPanel import PlotPanel 30 from sas.plottools.plottables import Plottable, Graph, Data1D, Theory1D 31 31 import sys 32 32 import numpy … … 86 86 dy = numpy.sqrt(100*numpy.abs(y))/100 87 87 88 from sa ns.plottools.plottables import Data1D, Theory1D, Chisq , Graph88 from sas.plottools.plottables import Data1D, Theory1D, Chisq , Graph 89 89 data = Data1D(x,y,dy=dy) 90 90 data.xaxis('distance', 'm')
Note: See TracChangeset
for help on using the changeset viewer.