bspysmg.data.postprocess#
File containing functions for postprocessing raw data gathered from the sampler and information for the model’s info dictionary.
Functions
|
Removes all the outputs and corresponding inputs where the output is outside a given maximum and minimum range. |
|
Retrieve electrode information from the data sampling configurations. |
|
Reads the sampling data from a text file (IO.dat) and returs the values loaded in numpy arrays. |
|
Calculate the voltage ranges of the device out of the information about the amplitude and the vertical offset that was used to compute the input waves during the data gathering process. |
|
Postprocesses the data, cleans any clipping (optional), and merges data sets if needed. |
|
Prints on screen the information about the electrodes that was gathered from the configuration file used for gathering the data from the device. |
|
Stores the input, outputs and sampling configurations in an .npz file. |