Changeset b699768 in sasview for src/sas/perspectives/calculator


Ignore:
Timestamp:
Feb 19, 2016 10:07:22 AM (9 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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:
d7bb526
Parents:
792e6be
Message:

Initial commit of the refactored SasCalc? module.

Location:
src/sas/perspectives/calculator
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/calculator/collimation_editor.py

    r49ab5d7 rb699768  
    44import sys 
    55from copy import deepcopy 
    6 from sas.dataloader.loader import Loader 
    7 from sas.dataloader.data_info import Aperture, Collimation 
     6from sas.sascalc.dataloader.loader import Loader 
     7from sas.sascalc.dataloader.data_info import Aperture, Collimation 
    88from aperture_editor import ApertureDialog 
    99 
  • src/sas/perspectives/calculator/console.py

    r49ab5d7 rb699768  
    44import wx 
    55import sys 
    6 from sas.dataloader.loader import Loader 
     6from sas.sascalc.dataloader.loader import Loader 
    77 
    88_BOX_WIDTH = 60 
  • src/sas/perspectives/calculator/data_editor.py

    rac7be54 rb699768  
    55from copy import deepcopy 
    66 
    7 from sas.dataloader.loader import Loader 
    8 from sas.dataloader.data_info import Data2D 
     7from sas.sascalc.dataloader.loader import Loader 
     8from sas.sascalc.dataloader.data_info import Data2D 
    99from detector_editor import DetectorDialog 
    1010from collimation_editor import CollimationDialog 
  • src/sas/perspectives/calculator/data_operator.py

    r3db44fb rb699768  
    66import time 
    77import numpy 
    8 from sas.dataloader.data_info import Data1D 
     8from sas.sascalc.dataloader.data_info import Data1D 
    99from sas.plottools.PlotPanel import PlotPanel 
    1010from sas.plottools.plottables import Graph 
  • src/sas/perspectives/calculator/detector_editor.py

    r49ab5d7 rb699768  
    33import sys 
    44from copy import deepcopy 
    5 from sas.dataloader.data_info import Detector 
     5from sas.sascalc.dataloader.data_info import Detector 
    66from sas.guiframe.utils import check_float 
    77 
  • src/sas/perspectives/calculator/gen_scatter_panel.py

    r3db44fb rb699768  
    2020 
    2121#from sas.guiframe.gui_manager import MDIFrame 
    22 from sas.data_util.calcthread import CalcThread 
     22from sas.sascalc.data_util.calcthread import CalcThread 
    2323from sas.guiframe.local_perspectives.plotting.SimplePlot import PlotFrame 
    2424from sas.guiframe.dataFitting import Data2D 
    2525from sas.guiframe.dataFitting import Data1D 
    26 from sas.dataloader.data_info import Detector 
    27 from sas.dataloader.data_info import Source 
     26from sas.sascalc.dataloader.data_info import Detector 
     27from sas.sascalc.dataloader.data_info import Source 
    2828from sas.guiframe.panel_base import PanelBase 
    2929from sas.guiframe.utils import format_number 
    3030from sas.guiframe.events import StatusEvent 
    31 from sas.calculator import sas_gen 
     31from sas.sascalc.calculator import sas_gen 
    3232from sas.perspectives.calculator.calculator_widgets import OutputTextCtrl 
    3333from sas.perspectives.calculator.calculator_widgets import InputTextCtrl 
  • src/sas/perspectives/calculator/image_viewer.py

    r3db44fb rb699768  
    1313from sas.guiframe.events import StatusEvent 
    1414from sas.perspectives.calculator.calculator_widgets import InputTextCtrl 
    15 from sas.dataloader.data_info import Data2D 
    16 from sas.dataloader.data_info import Detector 
    17 from sas.dataloader.manipulations import reader2D_converter 
     15from sas.sascalc.dataloader.data_info import Data2D 
     16from sas.sascalc.dataloader.data_info import Detector 
     17from sas.sascalc.dataloader.manipulations import reader2D_converter 
    1818from sas.guiframe.documentation_window import DocumentationWindow 
    1919 
  • src/sas/perspectives/calculator/kiessig_calculator_panel.py

    r3db44fb rb699768  
    1313 
    1414from sas.guiframe.panel_base import PanelBase 
    15 from sas.calculator.kiessig_calculator import KiessigThicknessCalculator 
     15from sas.sascalc.calculator.kiessig_calculator import KiessigThicknessCalculator 
    1616from calculator_widgets import OutputTextCtrl 
    1717from calculator_widgets import InputTextCtrl 
  • src/sas/perspectives/calculator/load_thread.py

    r49ab5d7 rb699768  
    33""" 
    44import time 
    5 from sas.data_util.calcthread import CalcThread 
    6 from sas.dataloader.loader import Loader 
     5from sas.sascalc.data_util.calcthread import CalcThread 
     6from sas.sascalc.dataloader.loader import Loader 
    77 
    88class DataReader(CalcThread): 
  • src/sas/perspectives/calculator/resolcal_thread.py

    r49ab5d7 rb699768  
    33""" 
    44import time 
    5 from sas.data_util.calcthread import CalcThread 
     5from sas.sascalc.data_util.calcthread import CalcThread 
    66 
    77class CalcRes(CalcThread): 
  • src/sas/perspectives/calculator/resolution_calculator_panel.py

    r3db44fb rb699768  
    2626 
    2727#from sas.guicomm.events import StatusEvent 
    28 from sas.calculator.resolution_calculator import ResolutionCalculator 
     28from sas.sascalc.calculator.resolution_calculator import ResolutionCalculator 
    2929from sas.guiframe.events import StatusEvent 
    3030from sas.perspectives.calculator.calculator_widgets import OutputTextCtrl 
  • src/sas/perspectives/calculator/sample_editor.py

    r49ab5d7 rb699768  
    546546if __name__ == "__main__": 
    547547    app = wx.App() 
    548     from sas.dataloader.data_info import Sample 
     548    from sas.sascalc.dataloader.data_info import Sample 
    549549    sample = Sample() 
    550550    dlg = SampleDialog(sample=sample) 
  • src/sas/perspectives/calculator/slit_length_calculator_panel.py

    r3db44fb rb699768  
    1616 
    1717from sas.guiframe.events import StatusEvent 
    18 from sas.calculator.slit_length_calculator import SlitlengthCalculator 
     18from sas.sascalc.calculator.slit_length_calculator import SlitlengthCalculator 
    1919from calculator_widgets import OutputTextCtrl 
    2020from calculator_widgets import InterActiveOutputTextCtrl 
  • src/sas/perspectives/calculator/source_editor.py

    r49ab5d7 rb699768  
    534534if __name__ == "__main__": 
    535535    app = wx.App() 
    536     from sas.dataloader.data_info import Source 
     536    from sas.sascalc.dataloader.data_info import Source 
    537537    source = Source() 
    538538    dlg = SourceDialog(source=source) 
Note: See TracChangeset for help on using the changeset viewer.