Changeset 4f20b27 in sasview
- Timestamp:
- May 15, 2009 12:08:44 PM (16 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:
- 111acd2
- Parents:
- 650f87d3
- Location:
- sansview/perspectives/pr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/pr/inversion_panel.py
r1f723e0 r4f20b27 983 983 path = None 984 984 dlg = wx.FileDialog(self, "Choose a file", os.getcwd(), "", "*.txt", wx.OPEN) 985 985 986 if dlg.ShowModal() == wx.ID_OK: 986 987 path = dlg.GetPath() -
sansview/perspectives/pr/pr.py
r1f723e0 r4f20b27 326 326 new_plot.xaxis("\\rm{r}", 'A') 327 327 new_plot.yaxis("\\rm{P(r)} ","cm^{-3}") 328 new_plot.xtransform="x" 329 new_plot.ytransform="y" 328 330 329 331 wx.PostEvent(self.parent, NewPlotEvent(plot=new_plot, title="P(r) fit")) … … 520 522 521 523 elif item.name==graph.selected_plottable: 522 return [["Compute P(r)", "Compute P(r) from distribution", self._on_context_inversion]] 524 if item.name=="$I_{obs}(q)$": 525 return [["Compute P(r)", "Compute P(r) from distribution", self._on_context_inversion]] 526 527 523 528 524 529 return [] … … 1100 1105 self.perspective = [] 1101 1106 self.perspective.append(self.control_panel.window_name) 1102 1103 1107 self.parent.Bind(EVT_PR_FILE, self._on_new_file) 1104 1108 -
sansview/perspectives/pr/pr_thread.py
r1f723e0 r4f20b27 1 1 import sys, time 2 from calcthread import CalcThread2 from perspectives.fitting.calcthread import CalcThread 3 3 4 4 class CalcPr(CalcThread):
Note: See TracChangeset
for help on using the changeset viewer.