Changeset b6a181b in sasview for src/sans/perspectives/fitting


Ignore:
Timestamp:
Apr 2, 2014 6:44:33 PM (11 years ago)
Author:
butler
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:
b9c8fc5
Parents:
1829835
Message:

changed "simultaneous fit" to "constrained and simultaneous fit"

Location:
src/sans/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sans/perspectives/fitting/fitpanel.py

    reddb6ec rb6a181b  
    330330        return self.GetPage(self.GetSelection()) 
    331331     
    332     def add_sim_page(self, caption="Simultaneous Fit"): 
     332    def add_sim_page(self, caption="Const & Simul Fit"): 
    333333        """ 
    334334        Add the simultaneous fit page 
     
    336336        from simfitpage import SimultaneousFitPage 
    337337        page_finder = self._manager.get_page_finder() 
    338         if caption == "Simultaneous Fit": 
     338        if caption == "Const & Simul Fit": 
    339339            self.sim_page = SimultaneousFitPage(self, page_finder=page_finder, 
    340340                                                 id=-1, batch_on=False) 
  • src/sans/perspectives/fitting/fitting.py

    r5777106 rb6a181b  
    174174        self.menu1.AppendSeparator() 
    175175        self.id_simfit = wx.NewId() 
    176         simul_help = "Simultaneous Fit" 
    177         self.menu1.Append(self.id_simfit, '&Simultaneous Fit', simul_help) 
     176        simul_help = "Constrained or Simultaneous Fit" 
     177        self.menu1.Append(self.id_simfit, '&Constrained or Simultaneous Fit', simul_help) 
    178178        wx.EVT_MENU(owner, self.id_simfit, self.on_add_sim_page) 
    179179        self.sim_menu = self.menu1.FindItemById(self.id_simfit) 
     
    418418        """ 
    419419        id = event.GetId() 
    420         caption = "Simultaneous Fit" 
     420        caption = "Const & Simul Fit" 
    421421        page = self.sim_page 
    422422        if id == self.id_batchfit: 
     
    434434        if page != None: 
    435435            return set_focus_page(page) 
    436         if caption == "Simultaneous Fit": 
     436        if caption == "Const & Simul Fit": 
    437437            self.sim_page = self.fit_panel.add_sim_page(caption=caption) 
    438438        else: 
Note: See TracChangeset for help on using the changeset viewer.