Skip to content

Commit

Permalink
More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCossette committed Feb 5, 2024
1 parent af23e4c commit b02d6d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions navlie/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ def covariance(self, x: CompositeState) -> np.ndarray:
class CompositeMeasurement(Measurement):
def __init__(self, y: Measurement, state_id: Any):
"""
Converts a standard Measurement into a CompositeMeasurement, which
replaces the model with a CompositeMeasurementModel.
Converts a standard ``Measurement`` into a CompositeMeasurement, which
simply replaces the model with a CompositeMeasurementModel.
Parameters
----------
Expand Down
7 changes: 4 additions & 3 deletions navlie/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ def correct(
def generate_sigmapoints(
dof: int, method: str
) -> Tuple[np.ndarray, np.ndarray]:
"""Generates unit sigma points from three available
methods.
"""
Generates unit sigma points from three available methods.
Parameters
----------
Expand All @@ -466,7 +466,8 @@ def generate_sigmapoints(
Returns
-------
Tuple[np.ndarray, np.ndarray]
returns the unit sigma points and the weights
returns the unit sigma points and the weights, respectively. For the
sigmapoints, each *column* will represent a sigma point.
"""
if method == "unscented":
kappa = 2
Expand Down

0 comments on commit b02d6d1

Please sign in to comment.