Changeset eaa7162 in sasview for sanscalculator/src
- Timestamp:
- Aug 22, 2011 11:30:50 AM (13 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:
- b21d32b
- Parents:
- 29a90b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sanscalculator/src/sans/calculator/resolution_calculator.py
rf67ed10 reaa7162 228 228 lamb_spread = wavelength_spread 229 229 # the shape of wavelength distribution 230 print "tof", tof 230 231 231 if tof: 232 232 # rectangular … … 881 881 phi_i = numpy.arctan2(y_val, x_val) 882 882 883 phi_i = numpy.arctan2(y_val, x_val)884 883 sin_phi = numpy.sin(phi_i) 885 884 cos_phi = numpy.cos(phi_i)
Note: See TracChangeset
for help on using the changeset viewer.