mcsas3.McHat.McHat#
- class mcsas3.McHat.McHat(loadFromFile: Path | None = None, resultIndex: int = 1, **kwargs: dict)[source]#
Bases:
object
The hat sits on top of the McCore. It takes care of parallel processing of each repetition.
Methods
__init__
([loadFromFile, resultIndex])fillFitParameterLimits
(measData)load
(filename[, path])run
(measData, filename[, resultIndex])runs the full sequence: multiple repetitions of optimizations, to be parallelized.
runOnce
(measData, filename[, repetition, ...])runs the full sequence: multiple repetitions of optimizations, to be parallelized.
store
(filename[, path])stores the settings in an output file (HDF5)
Attributes
loadKeys
nCores
kwargs accepts all parameters from McModel and McOpt.
storeKeys
- nRep = 10#
kwargs accepts all parameters from McModel and McOpt.
- run(measData: dict, filename: Path, resultIndex: int = 1) None [source]#
runs the full sequence: multiple repetitions of optimizations, to be parallelized. This probably needs to be taken out of core, and into a new parent