Changeset a8b6364 in sasview
- Timestamp:
- May 23, 2008 3:47:13 PM (17 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:
- 1a5c946
- Parents:
- ffca8f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pr_inversion/invertor.py
rffca8f2 ra8b6364 42 42 In the following i refers to the ith base function coefficient. 43 43 The matrix has its entries j in its first Npts rows set to 44 A[ i][j] = (Fourier transformed base function for point j)44 A[j][i] = (Fourier transformed base function for point j) 45 45 46 46 We them choose a number of r-points, n_r, to evaluate the second 47 47 derivative of P(r) at. This is used as our regularization term. 48 48 For a vector r of length n_r, the following n_r rows are set to 49 A[ i+Npts][j] = (2nd derivative of P(r), d**2(P(r))/d(r)**2, evaluated at r[j])49 A[j+Npts][i] = (2nd derivative of P(r), d**2(P(r))/d(r)**2, evaluated at r[j]) 50 50 51 51 The vector b has its first Npts entries set to
Note: See TracChangeset
for help on using the changeset viewer.