Changeset 4d29952 in sasview for invariantview/src/sans/perspectives


Ignore:
Timestamp:
Aug 19, 2011 2:48:16 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
39e52376
Parents:
c03fb16
Message:

remove reference to theory1D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/src/sans/perspectives/invariant/invariant_state.py

    ra60b8b6 r4d29952  
    1313from sans.dataloader.readers.cansas_reader import get_content 
    1414from sans.guiframe.utils import format_number 
    15 from sans.guiframe.dataFitting import Theory1D 
     15from sans.guiframe.gui_style import GUIFRAME_ID 
    1616from sans.guiframe.dataFitting import Data1D 
    1717 
     
    8888        self.file  = None 
    8989        self.data = Data1D(x=[], y=[], dx=None, dy=None) 
    90         self.theory_lowQ =  Theory1D(x=[], y=[], dy=None) 
    91         self.theory_highQ = Theory1D(x=[], y=[], dy=None) 
     90        self.theory_lowQ =  Data1D(x=[], y=[], dy=None) 
     91        self.theory_lowQ.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 
     92        self.theory_highQ = Data1D(x=[], y=[], dy=None) 
     93        self.theory_highQ.symbol = GUIFRAME_ID.CURVE_SYMBOL_NUM 
    9294        #self.is_time_machine = False 
    9395        self.saved_state = list 
Note: See TracChangeset for help on using the changeset viewer.