Changeset 51f14603 in sasview for src/sans/models/qsmearing.py
- Timestamp:
- Apr 3, 2014 9: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/models/qsmearing.py
r5777106 r51f14603 500 500 Make fake data_x points extrapolated outside of the data_x points 501 501 502 : param width: array of std of q resolution 503 : param Data1D.x: Data1D.x array 504 505 : return new_width, data_x_ext: extrapolated width array and x array 506 507 : assumption1: data_x is ordered from lower q to higher q 508 : assumption2: len(data) = len(width) 509 : assumption3: the distance between the data points is more compact 510 than the size of width 511 : Todo1: Make sure that the assumptions are correct for Data1D 512 : Todo2: This fixes the edge problem in Qsmearer but still needs to make 513 smearer interface 502 :param width: array of std of q resolution 503 :param Data1D.x: Data1D.x array 504 505 :return new_width, data_x_ext: extrapolated width array and x array 506 507 :assumption1: data_x is ordered from lower q to higher q 508 :assumption2: len(data) = len(width) 509 :assumption3: the distance between the data points is more compact than the size of width 510 :Todo1: Make sure that the assumptions are correct for Data1D 511 :Todo2: This fixes the edge problem in Qsmearer but still needs to make smearer interface 514 512 """ 515 513 # Length of the width
Note: See TracChangeset
for help on using the changeset viewer.