Create CLI tool for sample assembly creator
Primary function: take in User options like sample geometry, container geometry, sample environment geometry, and / or sample kernel options to make a sample.xml
to run in the sample simulator tool
TODOs:
-
Setup cyclopts
dependency in packageL docs -
Define CLI to add / append multiple scatterers objects AND define CLI to have nested commands for the scatterer (i.e. geometry + material OR pre-defined) - Look at https://cyclopts.readthedocs.io/en/latest/groups.html for setting this up using list of
Scatterer
objects
- Look at https://cyclopts.readthedocs.io/en/latest/groups.html for setting this up using list of
-
Test using use cases: - scatter defined using geometry=cylinder + material set using S(Q) file
- scatter defined using geometry=hollow-cylinder + material set using pre-defined vanadium material name
- scatter defined using predefined PAC06
- two scatterers defined: one using geometry + material and the other used pre-defined
Edited by McDonnell, Marshall