lf.data.rxquality.DataQuality

class lf.data.rxquality.DataQuality

Store quality metrics for LF Data

total_time_off

Amount of time a receiver was off during the entire day

Type

int

longest_time_off

Longest consecutive amount of receiver down time

Type

int

total_daytime_off

Amount of time a receiver was off during the daytime

Type

int

longest_daytime_off

Longest consecutive receiver down time during the daytime

Type

int

missing_midday

Whether the high noon section of data was missing

Type

bool

total_time_under_threshold

Amount of time the signal strength was under a specified threshold

Type

int

total_daytime_under_threshold

Amount of daytime the signal strength was under a specified threshold

Type

int

longest_time_under_threshold

Longest consecutive time the signal strength was under a specified threshold

Type

int

longest_daytime_under_threshold

Longest consecutive daytime the signal strength was under a specified threshold

Type

int

noise_time

Amount of time the signal was “noisy”

Type

int

noise_daytime

Amount of daytime the signal was “noisy”

Type

int

full_day

Whether data for all 24 hours was recorded

Type

bool

tx_on

Whether the transmitter was on during the recording

Type

bool

phase_slope

Slope of linear fit to phase data. Used for determining if phase ramping is occuring

Type

float

phase_yint

Y-intercept of linear fit to phase data

Type

float

Methods

get_quality([config])

Take the current quality data and determine if that is good enough