Changeset 6701a0b in sasview
- Timestamp:
- Sep 5, 2018 5:23:07 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 3522037
- Parents:
- fba204bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/pr/invertor.py
rfba204bf r6701a0b 71 71 A[j][i] = (Fourier transformed base function for point j) 72 72 73 We the mchoose a number of r-points, n_r, to evaluate the second73 We then choose a number of r-points, n_r, to evaluate the second 74 74 derivative of P(r) at. This is used as our regularization term. 75 75 For a vector r of length n_r, the following n_r rows are set to :: … … 238 238 min_err = 0.01 * yvalues[i] 239 239 stats_errors[i] = scale * np.sqrt(np.fabs(yvalues[i])) + min_err 240 logger.warning("Simulated errors have been added to the data set\n") 240 241 return stats_errors 241 242 … … 257 258 invertor.x = self.x 258 259 invertor.y = self.y 259 invertor.err = self.err260 260 if np.size(self.err) == 0 or np.all(self.err) == 0: 261 261 invertor.err = self.add_errors(self.y) … … 285 285 A[i][j] = (Fourier transformed base function for point j) 286 286 287 We the mchoose a number of r-points, n_r, to evaluate the second287 We then choose a number of r-points, n_r, to evaluate the second 288 288 derivative of P(r) at. This is used as our regularization term. 289 289 For a vector r of length n_r, the following n_r rows are set to ::
Note: See TracChangeset
for help on using the changeset viewer.