Changeset 2f8cbb9 in sasmodels


Ignore:
Timestamp:
Aug 7, 2018 11:08:15 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
71b751d
Parents:
1a7ddc9
Message:

raise error when trying to run beta with 2d data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kerneldll.py

    r7e923c2 r2f8cbb9  
    402402    def beta(self, call_details, values, cutoff, magnetic): 
    403403        # type: (CallDetails, np.ndarray, np.ndarray, float, bool) -> np.ndarray 
     404        if self.dim == '2d': 
     405            raise NotImplementedError("beta not yet supported for 2D") 
    404406        self._call_kernel(call_details, values, cutoff, magnetic) 
    405407        w_norm = self.result[2*self.q_input.nq + 1] 
Note: See TracChangeset for help on using the changeset viewer.