Changeset 3e6829d in sasview for src/sas/sascalc/pr/invertor.py
- Timestamp:
- Oct 22, 2018 5:49:40 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
- Children:
- 57e48ca
- Parents:
- 7ba6470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/pr/invertor.py
r952ea1f r3e6829d 6 6 FIXME: The way the Invertor interacts with its C component should be cleaned up 7 7 """ 8 from __future__ import division 8 9 9 10 import numpy as np … … 496 497 try: 497 498 cov = np.linalg.pinv(inv_cov) 498 err = math.fabs(chi2 / float(npts - nfunc)) * cov499 err = math.fabs(chi2 / (npts - nfunc)) * cov 499 500 except Exception as exc: 500 501 # We were not able to estimate the errors
Note: See TracChangeset
for help on using the changeset viewer.