def filter_stress(self, window_size, order): self.filtered[1] = True self._stress = savitzky_golay(self.raw_stress, window_size, order)
def filter_strain(self, window_size, order): self.filtered[0] = True self._strain = savitzky_golay(self.raw_strain, window_size, order)