mcsas.gui.calc module

class Calculator[source]

Bases: utils.hdf.HDFMixin

algo
hdfLoad(filehandle)[source]

load a calculator configuration

hdfWrite(hdf)[source]

write a calculator configuration.

indent = ' '
isStopped()[source]

Warning

method ‘gui.calc.Calculator.isStopped’ undocumented

model
modelActiveParams()[source]

Warning

method ‘gui.calc.Calculator.modelActiveParams’ undocumented

modelParams()[source]

Warning

method ‘gui.calc.Calculator.modelParams’ undocumented

nolog = False
postProcess()[source]

Warning

method ‘gui.calc.Calculator.postProcess’ undocumented

prepare()[source]

Resets series data. Supposed to be called before each run of multiple __call__() invokations.

stop()[source]

Warning

method ‘gui.calc.Calculator.stop’ undocumented

class OutputFilename(dataset, createDir=True)[source]

Bases: object

Generates output filenames with a common time stamp and logs appropriate messages.

basename
filename(kind=None, extension='.txt')[source]

Creates a file name from data base name, its directory and the current timestamp. It’s created once so that all output files have the same base name and timestamp.

filenameVerbose(kind, descr, extension='.txt')[source]

Returns the file name as in filename() and logs a descriptive message containing the full file name which is usually click-able.

outDir
timestamp
cfgwrite(self, fp)[source]

Write an .ini-format representation of the configuration state.