ilent2 / ott

Optical Tweezers Toolbox (Version 1)
Other
51 stars 30 forks source link

Consistent T-matrix and beam set type methods #31

Closed ilent2 closed 6 years ago

ilent2 commented 6 years ago

Replace toScattered, toTotal, and similar functions with a single set type function. For the matrix, use a set.type for default behaviour and a expand function for additional behaviour.

Add unit tests for this

Check other functions that could be simplified or replaced with a get.set interface

ilent2 commented 6 years ago

Done. Changed names of toOutgoing, toRegular, toScattered and toTotal to omit to