Changeset 630cdd4 in sasmodels


Ignore:
Timestamp:
Oct 8, 2016 2:09:54 PM (8 years ago)
Author:
ajj
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:
59994557
Message:

change to resolution.py to accommodate sesans transform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/resolution.py

    r2b3a1bd r630cdd4  
    5656        return theory 
    5757 
     58 
     59class SESANS1D(Resolution): 
     60 
     61    def __init__(self, data, q_calc): 
     62        self.data = data 
     63        self.q_calc = q_calc 
     64 
     65    def apply(self, theory): 
     66        return sesans.transform(self.data, self.q_calc, theory, None, None) 
    5867 
    5968class Pinhole1D(Resolution): 
Note: See TracChangeset for help on using the changeset viewer.