Skip to content

Commit

Permalink
Wrong function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescrake-merani committed Jan 7, 2025
1 parent 8c62c80 commit 23c4f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sasdata/trend.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from sasdata.data_backing import Dataset, Group
import numpy as np
from sasdata.quantities.quantity import NamedQuantity
from sasdata.transforms.rebinning import calculate_interpolation_matrix
from sasdata.transforms.rebinning import calculate_interpolation_matrix_1d

# Axis strs refer to the name of their associated NamedQuantity.

Expand Down Expand Up @@ -77,7 +77,7 @@ def interpolate(self, axis: str) -> "Trend":
# TODO: Again, repetition
axis_datum = [content for content in datum._data_contents if content.name == axis][0]
# TODO: There are other options which may need to be filled (or become new params to this method)
mat = calculate_interpolation_matrix(axis_datum, data_axis)
mat = calculate_interpolation_matrix_1d(axis_datum, data_axis)
new_quantities: list[NamedQuantity] = []
for quantity in datum._data_contents:
if quantity.name == axis_datum.name:
Expand Down

0 comments on commit 23c4f95

Please sign in to comment.