Changeset b397165 in sasmodels for sasmodels/resolution.py
- Timestamp:
- Dec 19, 2016 5:23:31 AM (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:
- 3a45c2c
- Parents:
- cdb867f
- git-author:
- jhbakker <j.h.bakker@…> (12/19/16 05:23:31)
- git-committer:
- GitHub <noreply@…> (12/19/16 05:23:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/resolution.py
r26b848d rb397165 9 9 from numpy import sqrt, log, log10, exp, pi # type: ignore 10 10 import numpy as np # type: ignore 11 12 from sasmodels import sesans13 from sasmodels.sesans import SesansTransform as SesansTransform14 11 15 12 __all__ = ["Resolution", "Perfect1D", "Pinhole1D", "Slit1D", … … 46 43 raise NotImplementedError("Subclass does not define the apply function") 47 44 45 48 46 class Perfect1D(Resolution): 49 47 """ … … 57 55 def apply(self, theory): 58 56 return theory 57 59 58 60 59 class Pinhole1D(Resolution):
Note: See TracChangeset
for help on using the changeset viewer.