mcstasscript.instr_reader.read_declare

mcstasscript.instr_reader.read_declare

Classes

DeclareReader(Instr, write_file, ...)

Reads the declare section of a McStas instrument file and adds the found parameters / functions / structs to the McStasScript Instr instance.