mcstasscript.helper.component_reader

mcstasscript.helper.component_reader#

Functions

c_integer_literal_base(s)

Determine the base of a C style integer literal.

remove_c_comments(code)

Removes comments from a multiline piece of c code

Classes

ComponentInfo()

Internal class used to store information on parameters of components

ComponentReader(mcstas_path[, input_path])

Class for retrieving information on available McStas components