Changeset eafc9fa in sasmodels for sasmodels/data.py
- Timestamp:
- Jan 30, 2016 9:39:59 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 5925e90
- Parents:
- 823e620
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
r299edd2 reafc9fa 121 121 # TODO: why is 1D mask False and 2D mask True? 122 122 self.mask = (np.isnan(y) if y is not None 123 else np.zeros_like(x, 'b') if x is not None123 else np.zeros_like(x, 'b') if x is not None 124 124 else None) 125 125 self._xaxis, self._xunit = "x", "" … … 350 350 """ 351 351 def wrapper(*args, **kw): 352 """ 353 Trap and print errors from function %s 354 """%fn.__name__ 352 355 try: 353 356 return fn(*args, **kw)
Note: See TracChangeset
for help on using the changeset viewer.