Changeset 0444c02 in sasmodels for sasmodels/sesans.py
- Timestamp:
- Oct 8, 2016 12: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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.