API Reference#

Classes#

NMXData(*args, **kwargs)

NMXReducedData(*args, **kwargs)

InputFilepath

NewType creates simple unique types with almost zero runtime overhead. NewType(name, tp) is considered a subtype of tp by static type checkers. At runtime, NewType(name, tp) returns a dummy callable that simply returns its argument. Usage::.

TimeBinSteps

NewType creates simple unique types with almost zero runtime overhead. NewType(name, tp) is considered a subtype of tp by static type checkers. At runtime, NewType(name, tp) returns a dummy callable that simply returns its argument. Usage::.

Top-level functions#

small_mcstas_3_sample()

McStas 3 file that contains only bank0(1-3) in the data group.

load_mcstas_nexus(*, file_path[, ...])

Load McStas simulation result from h5(nexus) file.

Submodules#

data

mcstas_loader