extract_blood_input_function_from_csv#

petpal.input_function.blood_input.extract_blood_input_function_from_csv(file_path: str) Tuple[numpy.ndarray, numpy.ndarray]#

Given a CSV file which contains blood activity data, we extract the times and the activity

Assumes that the file is comma-separated and has columns: ID, TIME, UNCORRECTED ACTIVITY, CORRECTED ACTIVITY

Parameters:

file_path

Returns:

[times, activity]