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

Implement method to rotate the magnetic vector #23

Merged
merged 37 commits into from
Aug 13, 2024
Merged

Implement method to rotate the magnetic vector #23

merged 37 commits into from
Aug 13, 2024

Conversation

YagoMCastro
Copy link
Contributor

@YagoMCastro YagoMCastro commented Jun 26, 2024

Introduces a method for generating random directions around a preferred direction, providing a tool for obtaining synthetic data over a polar stereographic projection. The method allows for precise control over the dispersion of generated vectors and the rotation parameters, and ensures reproducibility through the use of a random state parameter. Functions for angular distance and variance calculation were also implemented.

Relevant issues/PRs:

@YagoMCastro YagoMCastro marked this pull request as draft June 27, 2024 12:28
@leouieda leouieda marked this pull request as ready for review August 8, 2024 17:07
Copy link
Member

@leouieda leouieda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just some minor fixes to the docs and we can merge.

magali/_synthetic.py Outdated Show resolved Hide resolved
magali/_synthetic.py Outdated Show resolved Hide resolved
magali/__init__.py Outdated Show resolved Hide resolved
magali/_synthetic.py Outdated Show resolved Hide resolved
@YagoMCastro YagoMCastro merged commit e1d191a into main Aug 13, 2024
16 checks passed
@YagoMCastro YagoMCastro deleted the rotation branch August 13, 2024 19:53
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

Successfully merging this pull request may close these issues.

2 participants