Replace parms.py with an exampanded settings.py
This removes our dependence on parms.py
: all the settings that used to be in parms.py
are now managed by SpinifelSettings
(in settings.py
). This means that of those parameters can be varied via a .toml file, or using the CLI. Derived quantities (e.g. Mquat
) are computed on the fly using @property
members of SpinifelSettings
(c.f. bottom of the settings.py
file).
Note that this obviates the settings.small_problem
flag -- this has now been removed in favor or specifying all parameters in the .toml file (or via defaults). Note that the CLI reads vector (tuple) data by a comma separated list using square braces and no spaces-- eg.:
detector.shape=[4,512,512]