prsctrl.data.check#

Functions

list_to_ranges

Convert a list of integer values to a list of start and end points Eg: [1, 2, 3, 4, 5] -> [(1, 5)] [1, 2, 3, 5, 7, 8] -> [(1, 3), 5, (7, 8)]

ranges_to_string

Convert the result of list_to_ranges to a string: Eg [(1, 3), 5, (7, 8)] -> "1-3, 5, 7-8"

sanity_check_data

Check the data for problematic measurements, like invalid, too small or too large DC values.

sanity_check_data_gen_report

Generate a report of all the problematic values/measurements of a data object.