Better Scatter Parameter Handling

Registered by Tom Dimiduk

Rework scattering so they don't each need an individual parameter_names_list, paramater_list, make_from_parameter_list

Instead, have parameters and from_parameters in a few base classes (Scatterer and Composite at the moment) that return and take dicts (actually OrderedDict in the case of parameters) and can mostly just be inherited.

For example:
sc = SphereCluster(spheres=[Sphere(center=[1.56e-05, 1.4399999999999999e-05, 1.5e-05], n=(1.5891+0.0001j), r=6.5e-07), Sphere(center=[3.4199999999999998e-05, 3.1699999999999998e-05, 1.0000000000000001e-05], n=(1.5891+0.0001j), r=6.5e-07)])

sc.parameters
OrderedDict([('0:Sphere.center.x', 1.56e-05),
('0:Sphere.center.y', 1.4399999999999999e-05),
('0:Sphere.center.z', 1.5e-05),
('0:Sphere.n.imag', 0.0001),
('0:Sphere.n.real', 1.5891), ('0:Sphere.r', 6.5e-07),
('1:Sphere.center.x', 3.4199999999999998e-05),
('1:Sphere.center.y', 3.1699999999999998e-05),
('1:Sphere.center.z', 1.0000000000000001e-05),
('1:Sphere.n.imag', 0.0001),
('1:Sphere.n.real', 1.5891),
('1:Sphere.r', 6.5e-07)])

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
Tom Dimiduk
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Tom Dimiduk
Completed by
Tom Dimiduk

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.