Skip to content

Commit

Permalink
pr response
Browse files Browse the repository at this point in the history
  • Loading branch information
laspsandoval committed Aug 27, 2024
1 parent e36b90f commit 4f4efbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions imap_processing/spice/kernels.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
"""Functions for furnishing and tracking SPICE kernels."""

from contextlib import contextmanager
import functools
import logging
import os
from collections.abc import Generator
from contextlib import contextmanager
from pathlib import Path
from typing import Any, Callable, Optional, Generator
from typing import Any, Callable, Optional

import numpy as np
import spiceypy as spice
Expand Down Expand Up @@ -342,7 +343,7 @@ def _average_quaternions(et_times: np.ndarray) -> NDArray:
# Aggregate quaternions into a single matrix.
aggregate += np.outer(body_quat, body_quat)

# Reference: "On Averaging Rotations"
# Reference: "On Averaging Rotations".
# Link: https://link.springer.com/content/pdf/10.1023/A:1011129215388.pdf
aggregate /= len(et_times)

Expand Down

0 comments on commit 4f4efbe

Please sign in to comment.