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

Method getNumericProp

ij/src/main/java/ij/ImagePlus.java:1682–1687  ·  view source on GitHub ↗

Returns the numeric property associated with the specified key or NaN if the property is not found. @see #setProp(String,double) @see #getProp

(String key)

Source from the content-addressed store, hash-verified

1680 * @see #getProp
1681 */
1682 public double getNumericProp(String key) {
1683 if (imageProperties==null)
1684 return Double.NaN;
1685 else
1686 return Tools.parseDouble(getProp(key), Double.NaN);
1687 }
1688
1689 /** Used for saving string properties in TIFF header. */
1690 public String[] getPropertiesAsArray() {

Callers 1

unpadMethod · 0.80

Calls 2

parseDoubleMethod · 0.95
getPropMethod · 0.95

Tested by

no test coverage detected