MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getStackUnits

Method getStackUnits

ij/src/main/java/ij/macro/Functions.java:5629–5640  ·  view source on GitHub ↗
(Calibration cal)

Source from the content-addressed store, hash-verified

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();

Callers 1

doStackMethod · 0.95

Calls 9

getFirstVariableMethod · 0.95
getNextVariableMethod · 0.95
getLastVariableMethod · 0.95
setStringMethod · 0.95
getXUnitMethod · 0.80
getYUnitMethod · 0.80
getZUnitMethod · 0.80
getTimeUnitMethod · 0.80
getValueUnitMethod · 0.80

Tested by

no test coverage detected