Changeset 2ccb775 in sasmodels for sasmodels/resolution.py
- Timestamp:
- Nov 9, 2016 3:50:01 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 46d9f48
- Parents:
- 1a6cd57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/resolution.py
reb8a82e r2ccb775 59 59 60 60 class SESANS1D(Resolution): 61 61 def __init__(self, data, H0, H, q_calc): 62 self.q = data.x 63 self.H0 = H0 64 self.H = H 65 self.data=data 66 self.q_calc = q_calc 67 def apply(self, theory): 68 return sesans.hankeltrafo(self.H0, self.H, theory) 69 70 """ 62 71 def __init__(self, data, q_calc): 63 72 self.q = data.x … … 67 76 def apply(self, theory): 68 77 return sesans.transform(self.data, self.q_calc, theory, None, None) 69 78 """ 70 79 class Pinhole1D(Resolution): 71 80 r"""
Note: See TracChangeset
for help on using the changeset viewer.