Files
Feature-Extraction/global_var.py

15 lines
402 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def global_var_init():
# 设置周期,采样频率,记录名称
global cycle, fs_ecg, fs_ppg, record_name, record_name_csv
cycle = 370 # 此处限制的是生成txt文件中的周期而预处理时会处理全部周期
record_name = "s1_sit"
record_name_csv = "s1_sit"
fs_ecg = 500
fs_ppg = 500
return cycle, fs_ecg, fs_ppg, record_name, record_name_csv