Changeset 0444c02 in sasmodels
- Timestamp:
- Oct 8, 2016 2:36:11 PM (8 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:
- 0ae0f9a
- Parents:
- b3f2a24
- Location:
- sasmodels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/direct_model.py
r4cc161e r0444c02 31 31 from . import resolution2d 32 32 from .details import make_kernel_args, dispersion_mesh 33 from sas.sasgui.perspectives.fitting.fitpage import FitPage 33 34 34 35 try: … … 193 194 # interpret data 194 195 if hasattr(data, 'lam'): 196 #if not FitPage.no_transform.GetValue(): #if the no_transform radio button is not active DOES NOT WORK! not active before fitting 195 197 self.data_type = 'sesans' 196 198 elif hasattr(data, 'qx_data'): -
sasmodels/resolution.py
r69ef533 r0444c02 42 42 """ 43 43 raise NotImplementedError("Subclass does not define the apply function") 44 45 44 46 45 class Perfect1D(Resolution): -
sasmodels/sesans.py
r7ae2b7f r0444c02 15 15 from numpy import pi, exp # type: ignore 16 16 from scipy.special import jv as besselj 17 from sas.sasgui.perspectives.fitting.fitpage import FitPage 17 18 #import direct_model.DataMixin as model 18 19 … … 61 62 """ 62 63 nqmono = len(qmono) 63 if nqmono == 0: 64 #if nqmono == 0 # if radiobutton hankel is active 65 if FitPage.hankel.GetValue(): 64 66 result = call_hankel(data, q_calc, Iq_calc) 65 67 elif nqmono == 1: 66 68 q = qmono[0] 67 69 result = call_HankelAccept(data, q_calc, Iq_calc, q, Iq_mono) 68 else: 70 else: #if radiobutton Cosine is active 69 71 Qx, Qy = [qmono[0], qmono[1]] 70 72 Qx = np.reshape(Qx, nqx, nqy)
Note: See TracChangeset
for help on using the changeset viewer.