myogestic.gui.widgets.templates.RecordingInterfaceTemplate.save_recording#

RecordingInterfaceTemplate.save_recording(biosignal, biosignal_timings, ground_truth, ground_truth_timings, record_duration, use_as_classification, recording_label, task, ground_truth_sampling_frequency, **kwargs)[source]#

Save the recording.

Parameters:
  • biosignal (numpy.ndarray) – The recorded biosignal data.

  • biosignal_timings (numpy.ndarray) – The recorded biosignal timings.

  • ground_truth (numpy.ndarray) – The recorded ground truth data.

  • ground_truth_timings (numpy.ndarray) – The recorded ground truth timings.

  • record_duration (int | float) – The duration of the recording in seconds.

  • use_as_classification (bool) – Whether to use the recording as classification data.

  • recording_label (str) – The label of the recording.

  • task (str) – The task of the recording.

  • ground_truth_sampling_frequency (int | float) – The sampling frequency of the ground truth data.

  • kwargs (dict) – Additional custom data to save.

Return type:

None