Utils Module
- mtf.test_utilities.new_hil_plotting.utils.to_reception_event(timestamps: list)
- Converts a list of timestamps into x and y coordinates for a reception event plot. - Args:
- timestamps (list): List of timestamps. 
- Returns:
- tuple[list, list]: Two lists representing x and y coordinates. 
 
- mtf.test_utilities.new_hil_plotting.utils.to_time_difference(timestamps: list)
- Converts a list of timestamps into x and y coordinates for a time difference plot. - Args:
- timestamps (list): List of timestamps. 
- Returns:
- tuple[list, list]: Two lists representing x and y coordinates where y is the time difference. 
 
- mtf.test_utilities.new_hil_plotting.utils.payload_to_int(payload: list[int]) int
- Converts a list of bytes (payload) into a single integer. - Args:
- payload (list[int]): List of bytes. 
- Returns:
- int: The integer representation of the payload.