Skip to content

Commit

Permalink
Update docstring of init_q with link to method estimate.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayitzin committed Jan 24, 2025
1 parent 45bdf8f commit 37e4b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ahrs/filters/aqua.py
Original file line number Diff line number Diff line change
Expand Up @@ -1087,5 +1087,5 @@ def updateMARG(self, q: np.ndarray, gyr: np.ndarray, acc: np.ndarray, mag: np.nd
return q/np.linalg.norm(q)

def init_q(self, acc: np.ndarray, mag: np.ndarray = None) -> np.ndarray:
"""Synonym of method `estimate`."""
"""Synonym of :meth:`estimate`"""
return self.estimate(acc, mag)

0 comments on commit 37e4b4b

Please sign in to comment.