act.qc.fft_shading_test_process

act.qc.fft_shading_test_process(time, data, shad_freq_lower=None, shad_freq_upper=None, ratio_thresh=None, time_interval=None, is_sunny=None)[source]

Processing function to do the FFT calculations/thresholding

Parameters:
  • time (datetime) – Center time of calculation used for calculating sunrise/sunset

  • data (list) – Data for run through fft processing

  • shad_freq_lower (list) – Lower limits of freqencies to look for shading issues

  • shad_freq_upper (list) – Upper limits of freqencies to look for shading issues

  • ratio_thresh (list) – Thresholds to apply, corresponding to frequencies chosen

  • time_interval (float) – Time interval of data

Returns:

shading (int) – Binary to indicate shading problem (1) or not (0)