From 23c4f958a232e9fb31c41190cf1e6c7f87b31254 Mon Sep 17 00:00:00 2001 From: James Crake-Merani Date: Tue, 7 Jan 2025 12:22:04 +0100 Subject: [PATCH] Wrong function call. --- sasdata/trend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sasdata/trend.py b/sasdata/trend.py index 2cafdec..57a77fb 100644 --- a/sasdata/trend.py +++ b/sasdata/trend.py @@ -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. @@ -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: