Exemplo n.º 1
0
    def interpolate_at(self, x):
        if self.measurement_format != Measurement.Format.SCALAR:
            raise ValueError("Can only interpolate scalar values")
        from main.utilities import interpolate_at

        return interpolate_at(self.valid_data(), x)
Exemplo n.º 2
0
 def interpolate_at(self, x):
     assert (self.measurement_format == Measurement.Format.SCALAR)
     from main.utilities import interpolate_at
     return interpolate_at(self.valid_data(), x)