Thank you for this great work!
I was wondering why the y component of the signal from the calibration marker is used to scale both X and Y component of the leads. If I read your code correctly, np.min(signaly) of the marker will be used to scale X and np.max(signaly) will be used to scale Y. Although I see the point in scaling the y component Y of the leads by Y dimension of the marker, I don't understand why the X component of the leads should be scaled by the Y component of the marker.
Would you mind detailing your reasoning for this?
|
scale_vals.append([np.min(signaly), np.max(signaly)]) |
Thank you for this great work!
I was wondering why the y component of the signal from the calibration marker is used to scale both X and Y component of the leads. If I read your code correctly, np.min(signaly) of the marker will be used to scale X and np.max(signaly) will be used to scale Y. Although I see the point in scaling the y component Y of the leads by Y dimension of the marker, I don't understand why the X component of the leads should be scaled by the Y component of the marker.
Would you mind detailing your reasoning for this?
IntroECG/1-Waveform Extraction/ecg_pdf_to_dataframe.py
Line 150 in b728633