cec653d36c15c9ffc078df0201d30c3ac3a5115b,neurokit/bio/bio_ecg.py,,ecg_process,#,24

Before Change


    if sampling_rate == 1000:

        // Calculate time domain indexes
        hrv_time_domain = hrv.classical.time_domain(rri)
        hrv_features = {"HRV_MHR": hrv_time_domain["mhr"],
                        "HRV_MRRI": hrv_time_domain["mrri"],
                        "HRV_NN50": hrv_time_domain["nn50"],
                        "HRV_PNN50": hrv_time_domain["pnn50"],
                        "HRV_RMSSD": hrv_time_domain["rmssd"],
                        "HRV_RMSSD_Log": np.log(hrv_time_domain["rmssd"]),
                        "HRV_SDNN": hrv_time_domain["sdnn"]
                }
        // Calculate frequency domain indexes
// NOT WORKING FOR NOW
//        try:
//            hrv_freq_domain = hrv.classical.frequency_domain(rri, method="welch", interp_freq=4.0)

After Change


                            "RR_Intervals": rri,
                            "Cardiac_Cycles": heartbeats,
                            "R_Peaks": biosppy_ecg["rpeaks"],
                            "HRV": hrv}
                     }

    processed_ecg["ECG"].update(quality)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: neuropsychology/NeuroKit.py
Commit Name: cec653d36c15c9ffc078df0201d30c3ac3a5115b
Time: 2017-05-18
Author: dom.mak19@gmail.com
File Name: neurokit/bio/bio_ecg.py
Class Name:
Method Name: ecg_process


Project Name: neuropsychology/NeuroKit.py
Commit Name: cec653d36c15c9ffc078df0201d30c3ac3a5115b
Time: 2017-05-18
Author: dom.mak19@gmail.com
File Name: neurokit/bio/bio_ecg.py
Class Name:
Method Name: ecg_process


Project Name: jadore801120/attention-is-all-you-need-pytorch
Commit Name: cb413bcf7b58223c6c4335f2eaaf3dc53c0b0c53
Time: 2019-12-05
Author: jadore801120@gmail.com
File Name: train.py
Class Name:
Method Name: main


Project Name: jadore801120/attention-is-all-you-need-pytorch
Commit Name: b25cc3a7e6a560c1fd47f36a43296f62eaaace36
Time: 2019-12-07
Author: jadore801120@gmail.com
File Name: transformer/Translator.py
Class Name: Translator
Method Name: __init__