Open CFGrote opened 4 years ago
Depends on #34
Due to the requirements of the instrument database, the parameters in pyvinyl have gotten more features. Want to use these as a base for the parameter classes in McStasScript as well.
A branch of McStasScript that use the Parameters and CalculatorParameters is now functional and can be found here: https://github.com/PaNOSC-ViNYL/McStasScript/tree/mcstasscript_on_libpyvinyl
Now the calculator class is also used in this branch, see an example of how here.
The branch now have all examples and the McStas tutorial updated to the new syntax. Old syntax deprecated with a warning for users that makes it clear. README updated. Only lack updates to the PDF version of the documentation, but the task is practically done.
Mads is already on it, just added here for reference