Changeset 74c5521 in sasview for src/sas/sascalc/calculator
- Timestamp:
- Mar 21, 2016 2:05:36 PM (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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 61991ed
- Parents:
- 5a71761
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/calculator/BaseComponent.py
r9e531f2 r74c5521 106 106 107 107 qx_prime = [ qx[0], qx[1], qx[2], ....] 108 108 109 and :: 110 109 111 qy_prime = [ qy[0], qy[1], qy[2], ....] 110 112 111 113 Then get :: 114 112 115 q = numpy.sqrt(qx_prime^2+qy_prime^2) 113 116 114 117 that is a qr in 1D array; :: 118 115 119 q = [q[0], q[1], q[2], ....] 116 120 … … 123 127 124 128 evalDistribution(q) 129 125 130 where q is a numpy array. 126 131
Note: See TracChangeset
for help on using the changeset viewer.