Changeset 51f14603 in sasview for src/sans/calculator/sans_gen.py
- Timestamp:
- Apr 3, 2014 11:37:53 AM (11 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:
- 2f2d9d0
- Parents:
- eea3ffa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/calculator/sans_gen.py
rf468791 r51f14603 197 197 """ 198 198 Evaluate a distribution of q-values. 199 * For 1D, a numpy array is expected as input: 200 evalDistribution(q) 201 where q is a numpy array. 202 * For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime], 203 where 1D arrays, 204 :param qdist: ndarray of scalar q-values or list [qx,qy] 205 where qx,qy are 1D ndarrays 199 * For 1D, a numpy array is expected as input: evalDistribution(q) where q is a numpy array. 200 * For 2D, a list of numpy arrays are expected: [qx_prime,qy_prime], where 1D arrays. 201 :param qdist: ndarray of scalar q-values or list [qx,qy] where qx,qy are 1D ndarrays 206 202 """ 207 203 if qdist.__class__.__name__ == 'list': … … 952 948 def set_sldms(self, sld_mx, sld_my, sld_mz): 953 949 """ 954 Sets ( |m|, m_theta, m_phi)950 Sets (\|m\|, m_theta, m_phi) 955 951 """ 956 952 if sld_mx.__class__.__name__ == 'float':
Note: See TracChangeset
for help on using the changeset viewer.