- Timestamp:
- Jul 5, 2016 10:22:57 AM (9 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- c68b8b5
- Parents:
- ee73af7 (diff), eccbf14 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- src/sas
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/defaults.json
r68aa210 r80c5d46 41 41 "-extension":".nxs", 42 42 "-reader":"nexus_reader" 43 }, 44 { 45 "-extension":".pdh", 46 "-reader":"anton_paar_saxs_reader" 43 47 } 44 48 ] -
src/sas/sasgui/perspectives/fitting/models.py
r7673ecd r6fb559d 181 181 try: 182 182 model = load_custom_model(path) 183 plugins[model.name] = model 183 184 except Exception: 184 185 msg = traceback.format_exc() … … 187 188 logging.warning("Failed to load plugin %r. See %s for details" 188 189 % (path, PLUGIN_LOG)) 189 plugins[model.name] = model 190 190 191 191 return plugins 192 192 -
src/sas/sasgui/plottools/fitDialog.py
rd7bb526 r7c1d04a 516 516 if self.Rgerr_tctr.IsShown(): 517 517 if rg != None and rg != 0: 518 value = format_number(3 * float( cstA) / (2 * rg))518 value = format_number(3 * float(errA) / (2 * rg)) 519 519 else: 520 520 value = '' 521 521 self.Rgerr_tctr.SetValue(value) 522 522 if self.I0err_tctr.IsShown(): 523 val = numpy.abs(numpy.exp(cstB) - numpy.exp(cstB + errB))523 val = numpy.abs(numpy.exp(cstB) * errB) 524 524 self.I0err_tctr.SetValue(format_number(val)) 525 525 if self.Diameter_tctr.IsShown(): … … 534 534 self.Diametererr_tctr.SetValue(value) 535 535 if self.RgQmin_tctr.IsShown(): 536 value = format_number(rg * self. mini)536 value = format_number(rg * self.floatInvTransform(self.mini)) 537 537 self.RgQmin_tctr.SetValue(value) 538 538 if self.RgQmax_tctr.IsShown(): 539 value = format_number(rg * self. maxi)539 value = format_number(rg * self.floatInvTransform(self.maxi)) 540 540 self.RgQmax_tctr.SetValue(value) 541 541 -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py
rd85c194 ree73af7 222 222 values = [max(x_data.min(), float(ctrl[0].GetValue())), 223 223 min(x_data.max(), float(ctrl[1].GetValue()))] 224 if len(ctrl) == 3: 225 colors.append('purple') 226 values.append(min(x_data.max(), float(ctrl[2].GetValue()))) 224 227 if self.ly == None: 225 228 self.ly = []
Note: See TracChangeset
for help on using the changeset viewer.