-
Notifications
You must be signed in to change notification settings - Fork 0
Change log
- moved non strictly necessery c-compiler flags to local_var
- fixed bug with applying local_var compiler flags
- updated setup templates
- code cleanup
Added support for Progress_bar component. Progress indicator is now visible to the user. fixed issue in mccode.dat generation
strings are now supported for mcstas variables
added function mcvar_list
"var_list" file renamed to "var_list.csv". This needs to be updated manually in older simulation_results folders in the var_list columns can no be ignored by adding a '#' infront of the variable name.
Jupyter no longer needs a "local_var.py" file. Known Issue: if a compile flag is changed, this dose not trigger a recompile as in the command line version. This can be mitigated using the recompile flag in the simulate function
A recompile now only happens if components, .h-files or the instrument in the working directory / additionally specified component directories have changed.
added mcpw.mcstas_wrapper.return_detector
mcvariables and variables are no longer classes but dicts. This was done due to compatibility problems between simulations done from command line (mcpw_manager) and jupyter notebook
Also mcvar.dn is now mcvar['sim'] this should clarify the meaning of this variable as it is the name of a simulation run. In jupyter notebooks you have to change your simulate function parameter dn="" to sim="".
mcpw.mcstas_wrapper.is_scan renamed to mcpw.mcstas_wrapper.scan_name.
mcplot now fully supports all forms of scans
renamed function: post_mcrun_funktions() to post_simulation() introduced mandatory function pre_simulation()
Added special function custom()