def METHOD_NAME(self, w, idx):
    old = self._get_state()
    self.interp = trcalc.interpolation_methods[idx]
    new = self._get_state()
    self.pipeline.push(StageAction(self, old, new,
                                   descr="set scale interpolation"))
    self.pipeline.run_from(self)