Skip to content

Change log

tincotema edited this page Dec 20, 2023 · 2 revisions

1.0.0:

  • moved non strictly necessery c-compiler flags to local_var
  • fixed bug with applying local_var compiler flags
  • updated setup templates
  • code cleanup

0.6.2:

Added support for Progress_bar component. Progress indicator is now visible to the user. fixed issue in mccode.dat generation

0.6.1:

strings are now supported for mcstas variables

added function mcvar_list

0.6.0:

"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

0.5.8:

A recompile now only happens if components, .h-files or the instrument in the working directory / additionally specified component directories have changed.

0.5.4:

added mcpw.mcstas_wrapper.return_detector

0.5.0:

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.

0.4.0:

mcplot now fully supports all forms of scans

0.2.2->0.3.0:

renamed function: post_mcrun_funktions() to post_simulation() introduced mandatory function pre_simulation()

Added special function custom()