|        |   | 
- frequency_incident_classifier(event_id: int, box_id: str, windowed_frequencies: numpy.ndarray, box_event_start_ts: int, freq_ref: float, freq_var_high: float, freq_var_low: float, freq_interruption: float, window_size: int, max_lull: int, opq_mongo_client: mongo.OpqMongoClient = None, logger=None)
 - Classifies a frequency incident as a Sag, Swell, or Interruption. Creates a Mongo Incident document
 
:param event_id: Makai Event ID 
:param box_id: Box reporting event 
:param windowed_frequencies: High fidelity frequency measurements of windows 
:param box_event_start_ts: start timestamp of event in milliseconds 
:param freq_ref: the reference frequency 
:param freq_var_high: the threshold amount of variation to trigger a frequency swell incident 
:param freq_var_low: the threshold amount of variation to trigger a frequency sag incident 
:param freq_interruption: the frequency to trigger a frequency interruption incident 
:param window_size: The number of samples per window 
:param max_lull: 
:param opq_mongo_client: 
:param logger:  
 - frequency_variation(frequency: float, freq_ref: float, freq_var_high: float, freq_var_low: float, freq_interruption: float)
 - Determine the variation type if any based on IEEE 1159 standards
 
:param frequency: the frequency measured over the window 
:param freq_ref: the reference frequency 
:param freq_var_high: 
:param freq_var_low: 
:param freq_interruption: 
:return: variation_type: the variation type if there is a variation from the reference, otherwise False  
 - rerun(mongo_client: mongo.OpqMongoClient, logger, mauka_message: mauka_pb2.MaukaMessage)
 - Rerun a makai event through the frequency variation plugin.
 
:param mongo_client: Mongo client to make the query. 
:param logger: Application logger. 
:param mauka_message: The mauka message to rerrun the frequency variation plugin over.  
 |