mcstasscript.helper.managed_mcrun

mcstasscript.helper.managed_mcrun

Functions

findall(s, p)

Yields all the positions of the pattern p in the string s.

highlight(string, search_term[, ...])

Highlights search term in string and returns it, if return_section only sections with term is returned

load_metadata(data_folder_name)

Function that loads metadata from a mcstas simulation

load_monitor(metadata, data_folder_name)

Function that loads data given metadata and name of data folder

load_results(data_folder_name)

Function for loading data from a mcstas simulation

print_sim_output(sim_output)

Classes

ManagedMcrun(instr_name, **kwargs)

A class for performing a mcstas simulation and organizing the data into python objects