AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

API: Create ObjectOptions dataclass to store object options #150

Closed carterbox closed 3 years ago

carterbox commented 3 years ago

Purpose

Reduce the number of function arguments in ptychographic reconstruction methods.

Approach

Combine various arguments related to the object into "ObjectOptions" class. This allows for easier management of complicated parameters and setting/getting of default values.

Related to #15 Related to #147

Pre-Merge Checklists

Submitter

Reviewer