est.core.utils package¶
est.core.utils.designpattern module¶
-
class
est.core.utils.designpattern.
Borg
¶ Bases:
object
-
est.core.utils.designpattern.
singleton
(class_)¶
est.core.utils.spectra module¶
-
est.core.utils.spectra.
create_dataset
(shape, noise=False)¶ - Parameters
shape (tuple) –
- Returns
energy, spectra
Module contents¶
-
est.core.utils.
DownloadDataset
(dataset, output_folder, timeout, unpack=False)¶
-
est.core.utils.
extract_properties_from_dict
(my_str) → dict¶ Convert parameters provided from a string to a dictionary. expected syntax is param1:value1,param2:value2 would return { param1: value1, param2: value2 } try to cast each value to a number (float).