db package
db.mldb module
- db.mldb.findClosestIndex(myList, myNumber)[source]
Returns closest index to myNumber.
Assumes myList is sorted. If two numbers are equally close, return the smallest number.
- class db.mldb.mldb(descr='')[source]
Bases:
object
- buildASCII(path, dataDescriptionFile, dataFileName, interlockFileName)[source]
Build training set from archiver data obtained with the ArchiveExport command
The dataDescriptionFile will define the input (aka design) and output (aka object) variables
- buildFromSDDS(baseFN, root, yNames)[source]
Build training set from sdds (simulation) data
Data obtained with for example OPAL The dataDescriptionFile will define the input (aka design) and output (aka object) variables