Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is signaly of the calibration marker used as scale value? #4

Open
JulianKlug opened this issue Sep 13, 2022 · 2 comments
Open

Why is signaly of the calibration marker used as scale value? #4

JulianKlug opened this issue Sep 13, 2022 · 2 comments

Comments

@JulianKlug
Copy link

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)])

@PierreElias
Copy link
Owner

PierreElias commented Sep 27, 2022 via email

@JulianKlug
Copy link
Author

Thank you for the input. I will try to look into this when I have a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants