PaNOSC-ViNYL / ViNYL-project

This repository keeps track of tasks, milestones, deliverables of workpackage 5 in panosc.
Apache License 2.0
5 stars 5 forks source link

Adopt pyvinyl API in McStasCalculator #33

Open CFGrote opened 4 years ago

CFGrote commented 4 years ago

Mads is already on it, just added here for reference

CFGrote commented 4 years ago

Depends on #34

mads-bertelsen commented 3 years ago

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.

mads-bertelsen commented 2 years ago

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

mads-bertelsen commented 2 years ago

Now the calculator class is also used in this branch, see an example of how here.

mads-bertelsen commented 2 years ago

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.