Changeset be0fe41 in sasview
- Timestamp:
- Jan 11, 2013 11:30:24 AM (12 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:
- 440006a
- Parents:
- 1b28ff5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py
rdbc01f2 rbe0fe41 1152 1152 self.npixels_sizer = wx.BoxSizer(wx.HORIZONTAL) 1153 1153 self.box_sld = wx.StaticBox(self, -1, 1154 str(" Scattering Length (Density)"))1154 str("Mean SLD")) 1155 1155 self.box_node = wx.StaticBox(self, -1, str("Nodes")) 1156 1156 self.boxsizer_sld = wx.StaticBoxSizer(self.box_sld, wx.VERTICAL) -
calculatorview/src/sans/perspectives/calculator/model_editor.py
r318b5bbb rbe0fe41 1268 1268 1269 1269 ## setParam to p model 1270 model_pre = name.split('_', 1)[0] 1271 new_name = name.split('_', 1)[1] 1270 model_pre = '' 1271 new_name = '' 1272 name_split = name.split('_', 1) 1273 if len(name_split) == 2: 1274 model_pre = name.split('_', 1)[0] 1275 new_name = name.split('_', 1)[1] 1272 1276 if model_pre == "p1": 1273 1277 if new_name in self.p_model1.getParamList(): … … 1276 1280 if new_name in self.p_model2.getParamList(): 1277 1281 self.p_model2.setParam(new_name, value) 1278 elif name .lower()== 'scale_factor':1282 elif name == 'scale_factor': 1279 1283 self.params['scale_factor'] = value 1280 1284 else: -
sanscalculator/src/sans/calculator/sans_gen.py
r1b28ff5 rbe0fe41 534 534 535 535 output = MagSLD(pos_x, pos_y, pos_z, sld_n, sld_mx, sld_my, sld_mz) 536 #output.set_sldms(0, 0, 0)537 536 output.filename = os.path.basename(path) 538 537 output.set_pix_type('atom') … … 602 601 vol_pix = None 603 602 except: 604 print "HERE"605 603 # For older version of numpy 606 604 input_f = open(path, 'rb')
Note: See TracChangeset
for help on using the changeset viewer.