Changeset 29d6fa5 in sasview for sansview/perspectives
- Timestamp:
- Apr 22, 2011 2:20:55 PM (14 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:
- de7b4cf
- Parents:
- f7d0b74
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r1868cf3 r29d6fa5 1528 1528 gn = theory_data.y 1529 1529 en = dy[index] 1530 print "n",len(fn) 1531 print "n",len(gn) 1532 print "n",len(en) 1533 print "-",len((fn - gn)) 1534 print len((fn - gn) / en) 1530 1535 1531 # residual 1536 1532 res = (fn - gn) / en
Note: See TracChangeset
for help on using the changeset viewer.