Skip to content

Conversation

ntustison
Copy link
Member

# c. Check if the estimated orthogonal part is close to the known one.
nptest.assert_almost_equal(Z_known, Z_est)

def test_onvergence_monitoring(self):
Copy link
Member

Choose a reason for hiding this comment

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

typo

# 1. Setup: Create a matrix from a known P and Z.
# The key is to multiply them in the order P @ Z.
P_known = make_known_scaling_matrix(2.5, 1.0, 1.5)
Z_known = make_known_rotation(45) # Use Z for "orthogonal" part
Copy link
Member

Choose a reason for hiding this comment

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

Would recommend making the rotation not 45 degrees so that the ground truth is not symmetric

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, I can add this in a subsequent pull request.

@coveralls
Copy link

coveralls commented Jun 18, 2025

Coverage Status

coverage: 76.957% (+0.09%) from 76.871%
when pulling 24319ee on POLAR
into 2ac0e45 on master.

@ntustison ntustison merged commit 81ccf1f into master Jun 18, 2025
3 checks passed
@ntustison ntustison deleted the POLAR branch June 18, 2025 18:13
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.

4 participants