Changeset bd547d0 in sasmodels for sasmodels/modelinfo.py


Ignore:
Timestamp:
Oct 3, 2018 1:10:16 PM (4 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:
c11d09f
Parents:
610ef23
Message:

restrict magnetic parameters to visible shells. Refs #1188

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/modelinfo.py

    r610ef23 rbd547d0  
    10161016                         for k in range(control+1, p.length+1) 
    10171017                         if p.length > 1) 
     1018            for p in self.parameters.kernel_parameters: 
     1019                if p.length > 1 and p.type == "sld": 
     1020                    for k in range(control+1, p.length+1): 
     1021                        base = p.id+str(k) 
     1022                        hidden.update((base+"_M0", base+"_mtheta", base+"_mphi")) 
    10181023        return hidden 
Note: See TracChangeset for help on using the changeset viewer.