(Calibration cal)
| 5627 | } |
| 5628 | |
| 5629 | void getStackUnits(Calibration cal) { |
| 5630 | Variable x = getFirstVariable(); |
| 5631 | Variable y = getNextVariable(); |
| 5632 | Variable z = getNextVariable(); |
| 5633 | Variable t = getNextVariable(); |
| 5634 | Variable v = getLastVariable(); |
| 5635 | x.setString(cal.getXUnit()); |
| 5636 | y.setString(cal.getYUnit()); |
| 5637 | z.setString(cal.getZUnit()); |
| 5638 | t.setString(cal.getTimeUnit()); |
| 5639 | v.setString(cal.getValueUnit()); |
| 5640 | } |
| 5641 | |
| 5642 | void setStackUnits(ImagePlus imp) { |
| 5643 | Calibration cal = imp.getCalibration(); |
no test coverage detected