Changeset d85c194 in sasview for src/sas/sasgui/guiframe/local_perspectives
- Timestamp:
- Feb 22, 2016 9:04:24 AM (9 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:
- 06aaa75d
- Parents:
- d7bb526
- Location:
- src/sas/sasgui/guiframe/local_perspectives
- Files:
-
- 2 added
- 25 moved
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
rb699768 rd85c194 9 9 10 10 from sas.sascalc.dataloader.loader import Loader 11 from sas. guiframe.plugin_base import PluginBase12 from sas. guiframe.events import StatusEvent13 from sas. guiframe.gui_style import GUIFRAME14 from sas. guiframe.gui_manager import DEFAULT_OPEN_FOLDER11 from sas.sasgui.guiframe.plugin_base import PluginBase 12 from sas.sasgui.guiframe.events import StatusEvent 13 from sas.sasgui.guiframe.gui_style import GUIFRAME 14 from sas.sasgui.guiframe.gui_manager import DEFAULT_OPEN_FOLDER 15 15 try: 16 16 # Try to find a local config … … 26 26 except: 27 27 # Didn't find local config, load the default 28 import sas. guiframe.config as config28 import sas.sasgui.guiframe.config as config 29 29 30 30 if config is None: 31 import sas. guiframe.config as config31 import sas.sasgui.guiframe.config as config 32 32 33 33 -
src/sas/sasgui/guiframe/local_perspectives/plotting/AnnulusSlicer.py
rb699768 rd85c194 10 10 # from copy import deepcopy 11 11 # Debug printout 12 from sas. guiframe.events import NewPlotEvent13 from sas. guiframe.events import StatusEvent14 from sas. guiframe.events import SlicerParameterEvent15 from sas. guiframe.events import EVT_SLICER_PARS12 from sas.sasgui.guiframe.events import NewPlotEvent 13 from sas.sasgui.guiframe.events import StatusEvent 14 from sas.sasgui.guiframe.events import SlicerParameterEvent 15 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 16 16 from BaseInteractor import _BaseInteractor 17 from sas. guiframe.dataFitting import Data1D17 from sas.sasgui.guiframe.dataFitting import Data1D 18 18 19 19 class AnnulusInteractor(_BaseInteractor): -
src/sas/sasgui/guiframe/local_perspectives/plotting/Arc.py
r824e488 rd85c194 5 5 6 6 from BaseInteractor import _BaseInteractor 7 from sas. guiframe.events import SlicerParameterEvent7 from sas.sasgui.guiframe.events import SlicerParameterEvent 8 8 9 9 class ArcInteractor(_BaseInteractor): -
src/sas/sasgui/guiframe/local_perspectives/plotting/AzimutSlicer.py
rb699768 rd85c194 7 7 import wx 8 8 from BaseInteractor import _BaseInteractor 9 from sas. guiframe.events import NewPlotEvent10 from sas. guiframe.events import EVT_SLICER_PARS9 from sas.sasgui.guiframe.events import NewPlotEvent 10 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 11 11 12 12 class SectorInteractor(_BaseInteractor): … … 156 156 sector = sect(self.base.data2D) 157 157 158 from sas. guiframe.dataFitting import Data1D158 from sas.sasgui.guiframe.dataFitting import Data1D 159 159 if hasattr(sector, "dxl"): 160 160 dxl = sector.dxl -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py
rd7bb526 rd85c194 17 17 import logging 18 18 from sas.sasgui.plottools.PlotPanel import PlotPanel 19 from sas. guiframe.events import StatusEvent20 from sas. guiframe.events import PanelOnFocusEvent21 from sas. guiframe.utils import PanelMenu, IdList22 from sas. guiframe.panel_base import PanelBase23 from sas. guiframe.gui_style import GUIFRAME_ICON19 from sas.sasgui.guiframe.events import StatusEvent 20 from sas.sasgui.guiframe.events import PanelOnFocusEvent 21 from sas.sasgui.guiframe.utils import PanelMenu, IdList 22 from sas.sasgui.guiframe.panel_base import PanelBase 23 from sas.sasgui.guiframe.gui_style import GUIFRAME_ICON 24 24 from appearanceDialog import appearanceDialog 25 25 from graphAppearance import graphAppearance -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py
rd7bb526 rd85c194 19 19 from sas.sasgui.plottools.plottables import Graph 20 20 from sas.sasgui.plottools.TextDialog import TextDialog 21 from sas. guiframe.events import StatusEvent22 from sas. guiframe.events import NewPlotEvent23 from sas. guiframe.events import PanelOnFocusEvent24 from sas. guiframe.events import SlicerEvent25 from sas. guiframe.utils import PanelMenu26 from sas. guiframe.local_perspectives.plotting.binder import BindArtist21 from sas.sasgui.guiframe.events import StatusEvent 22 from sas.sasgui.guiframe.events import NewPlotEvent 23 from sas.sasgui.guiframe.events import PanelOnFocusEvent 24 from sas.sasgui.guiframe.events import SlicerEvent 25 from sas.sasgui.guiframe.utils import PanelMenu 26 from sas.sasgui.guiframe.local_perspectives.plotting.binder import BindArtist 27 27 from Plotter1D import ModelPanel1D 28 28 from sas.sasgui.plottools.toolbar import NavigationToolBar … … 584 584 bin_width=bin_width) 585 585 circ = Circle(self.data2D, ismask=ismask) 586 from sas. guiframe.dataFitting import Data1D586 from sas.sasgui.guiframe.dataFitting import Data1D 587 587 if hasattr(circ, "dxl"): 588 588 dxl = circ.dxl … … 656 656 """ 657 657 """ 658 from sas. guiframe.gui_manager import MDIFrame658 from sas.sasgui.guiframe.gui_manager import MDIFrame 659 659 from boxSum import BoxSum 660 660 self.onClearSlicer(event) … … 683 683 self.slicer.set_panel_name(name=new_panel.window_caption) 684 684 ## post slicer panel to guiframe to display it 685 from sas. guiframe.events import SlicerPanelEvent685 from sas.sasgui.guiframe.events import SlicerPanelEvent 686 686 687 687 win.set_panel(new_panel) -
src/sas/sasgui/guiframe/local_perspectives/plotting/SectorSlicer.py
rb699768 rd85c194 5 5 import wx 6 6 from BaseInteractor import _BaseInteractor 7 from sas. guiframe.events import NewPlotEvent8 from sas. guiframe.events import StatusEvent9 from sas. guiframe.events import SlicerParameterEvent10 from sas. guiframe.events import EVT_SLICER_PARS11 from sas. guiframe.dataFitting import Data1D7 from sas.sasgui.guiframe.events import NewPlotEvent 8 from sas.sasgui.guiframe.events import StatusEvent 9 from sas.sasgui.guiframe.events import SlicerParameterEvent 10 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 11 from sas.sasgui.guiframe.dataFitting import Data1D 12 12 13 13 -
src/sas/sasgui/guiframe/local_perspectives/plotting/SimplePlot.py
rd7bb526 rd85c194 3 3 """ 4 4 import wx 5 from sas. guiframe.local_perspectives.plotting.Plotter2D import ModelPanel2D as PlotPanel5 from sas.sasgui.guiframe.local_perspectives.plotting.Plotter2D import ModelPanel2D as PlotPanel 6 6 from sas.sasgui.plottools.toolbar import NavigationToolBar 7 7 from sas.sasgui.plottools.plottables import Graph 8 from sas. guiframe.utils import PanelMenu9 from sas. guiframe.events import StatusEvent8 from sas.sasgui.guiframe.utils import PanelMenu 9 from sas.sasgui.guiframe.events import StatusEvent 10 10 11 11 class SimplePlotPanel(PlotPanel): -
src/sas/sasgui/guiframe/local_perspectives/plotting/SlicerParameters.py
rb40ad40 rd85c194 4 4 import wx.lib.newevent 5 5 #from copy import deepcopy 6 from sas. guiframe.events import EVT_SLICER_PARS7 from sas. guiframe.utils import format_number8 from sas. guiframe.events import EVT_SLICER9 from sas. guiframe.events import SlicerParameterEvent6 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 7 from sas.sasgui.guiframe.utils import format_number 8 from sas.sasgui.guiframe.events import EVT_SLICER 9 from sas.sasgui.guiframe.events import SlicerParameterEvent 10 10 11 11 -
src/sas/sasgui/guiframe/local_perspectives/plotting/boxSlicer.py
rb699768 rd85c194 2 2 import math 3 3 import numpy 4 from sas. guiframe.events import NewPlotEvent5 from sas. guiframe.events import StatusEvent6 from sas. guiframe.events import SlicerParameterEvent7 from sas. guiframe.events import EVT_SLICER_PARS4 from sas.sasgui.guiframe.events import NewPlotEvent 5 from sas.sasgui.guiframe.events import StatusEvent 6 from sas.sasgui.guiframe.events import SlicerParameterEvent 7 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 8 8 from BaseInteractor import _BaseInteractor 9 from sas. guiframe.dataFitting import Data1D9 from sas.sasgui.guiframe.dataFitting import Data1D 10 10 11 11 -
src/sas/sasgui/guiframe/local_perspectives/plotting/boxSum.py
rb699768 rd85c194 6 6 import wx 7 7 from BaseInteractor import _BaseInteractor 8 from sas. guiframe.events import SlicerParamUpdateEvent9 from sas. guiframe.events import EVT_SLICER_PARS10 from sas. guiframe.events import StatusEvent8 from sas.sasgui.guiframe.events import SlicerParamUpdateEvent 9 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 10 from sas.sasgui.guiframe.events import StatusEvent 11 11 12 12 -
src/sas/sasgui/guiframe/local_perspectives/plotting/detector_dialog.py
rb5de88e rd85c194 4 4 import wx 5 5 import sys 6 from sas. guiframe.utils import format_number7 from sas. guiframe.events import StatusEvent6 from sas.sasgui.guiframe.utils import format_number 7 from sas.sasgui.guiframe.events import StatusEvent 8 8 from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as Canvas 9 9 from matplotlib import mpl -
src/sas/sasgui/guiframe/local_perspectives/plotting/masking.py
rd7bb526 rd85c194 28 28 from sas.sasgui.plottools.plottables import Graph 29 29 from binder import BindArtist 30 from sas. guiframe.dataFitting import Data1D, Data2D30 from sas.sasgui.guiframe.dataFitting import Data1D, Data2D 31 31 from boxMask import BoxMask 32 32 from sector_mask import SectorMask 33 33 from AnnulusSlicer import CircularMask 34 34 35 from sas. guiframe.events import SlicerEvent36 from sas. guiframe.events import StatusEvent35 from sas.sasgui.guiframe.events import SlicerEvent 36 from sas.sasgui.guiframe.events import StatusEvent 37 37 from functools import partial 38 38 -
src/sas/sasgui/guiframe/local_perspectives/plotting/plotting.py
rf21d496 rd85c194 14 14 import wx 15 15 import sys 16 from sas. guiframe.events import EVT_NEW_PLOT17 from sas. guiframe.events import EVT_PLOT_QRANGE18 from sas. guiframe.events import DeletePlotPanelEvent19 from sas. guiframe.plugin_base import PluginBase20 from sas. guiframe.dataFitting import Data1D21 from sas. guiframe.dataFitting import Data2D22 from sas. guiframe.gui_manager import MDIFrame16 from sas.sasgui.guiframe.events import EVT_NEW_PLOT 17 from sas.sasgui.guiframe.events import EVT_PLOT_QRANGE 18 from sas.sasgui.guiframe.events import DeletePlotPanelEvent 19 from sas.sasgui.guiframe.plugin_base import PluginBase 20 from sas.sasgui.guiframe.dataFitting import Data1D 21 from sas.sasgui.guiframe.dataFitting import Data2D 22 from sas.sasgui.guiframe.gui_manager import MDIFrame 23 23 DEFAULT_MENU_ITEM_LABEL = "No graph available" 24 24 DEFAULT_MENU_ITEM_ID = wx.NewId() -
src/sas/sasgui/guiframe/local_perspectives/plotting/profile_dialog.py
rd7bb526 rd85c194 7 7 from sas.sasgui.plottools.plottables import Graph 8 8 from Plotter1D import ModelPanel1D as PlotPanel 9 from sas. guiframe.dataFitting import Data1D10 from sas. guiframe.gui_style import GUIFRAME_ID9 from sas.sasgui.guiframe.dataFitting import Data1D 10 from sas.sasgui.guiframe.gui_style import GUIFRAME_ID 11 11 12 12 DEFAULT_CMAP = None #pylab.cm.jet -
src/sas/sasgui/guiframe/local_perspectives/plotting/sector_mask.py
rb699768 rd85c194 8 8 from SectorSlicer import SideInteractor 9 9 from SectorSlicer import LineInteractor 10 from sas. guiframe.events import SlicerParameterEvent10 from sas.sasgui.guiframe.events import SlicerParameterEvent 11 11 12 12 class SectorMask(_BaseInteractor): -
src/sas/sasgui/guiframe/local_perspectives/plotting/slicerpanel.py
rb40ad40 rd85c194 2 2 import wx.lib.newevent 3 3 #from copy import deepcopy 4 from sas. guiframe.utils import format_number5 from sas. guiframe.events import SlicerParameterEvent6 from sas. guiframe.events import EVT_SLICER_PARS7 from sas. guiframe.events import EVT_SLICER4 from sas.sasgui.guiframe.utils import format_number 5 from sas.sasgui.guiframe.events import SlicerParameterEvent 6 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 7 from sas.sasgui.guiframe.events import EVT_SLICER 8 8 9 from sas. guiframe.panel_base import PanelBase9 from sas.sasgui.guiframe.panel_base import PanelBase 10 10 11 11 class SlicerPanel(wx.Panel, PanelBase):
Note: See TracChangeset
for help on using the changeset viewer.