Changeset 4e0968b in sasmodels


Ignore:
Timestamp:
Aug 4, 2016 11:36:37 PM (3 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
e7fe459
Parents:
745b7bb
Message:

spherical sld: doc cleanup (with syntax errors fixed)

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/spherical_sld.py

    r745b7bb r4e0968b  
    227227    rho.append(sld[0]) 
    228228 
    229     for i in range(0, n_shells): 
     229    for i in range(0, int(n_shells)): 
    230230        z0 += thickness[i] 
    231231        z.append(z0) 
  • sasmodels/sasview_model.py

    r745b7bb r4e0968b  
    331331            else: 
    332332                value = np.array([self.params.get(p.id+str(k), np.NaN) 
    333                                   for k in range(1,p.length+1)] 
     333                                  for k in range(1,p.length+1)]) 
    334334            args[p.id] = value 
    335335 
Note: See TracChangeset for help on using the changeset viewer.