<h2>org.das2.datum.UnitsConverter</h2><p>Units Converter object performs scale/offset conversions, but can
 also be used any double-to-double conversion, and contains an
 implementation to chain multiple conversions together.</p>
<hr>
<a name="IDENTITY"></a>
<h2>IDENTITY</h2>
<p>No conversion, where convert trivially returns the value.</p>

<hr>
<a name="LOOSE_IDENTITY"></a>
<h2>LOOSE_IDENTITY</h2>
<p>Allow conversion, but this is a flag that indicates the result 
 should be dimensionless because the Ratiometric units were
 not convertible.</p>

<hr>
<a name="TERA"></a>
<h2>TERA</h2>
<p></p>

<hr>
<a name="GIGA"></a>
<h2>GIGA</h2>
<p></p>

<hr>
<a name="MEGA"></a>
<h2>MEGA</h2>
<p></p>

<hr>
<a name="KILO"></a>
<h2>KILO</h2>
<p></p>

<hr>
<a name="MILLI"></a>
<h2>MILLI</h2>
<p></p>

<hr>
<a name="CENTI"></a>
<h2>CENTI</h2>
<p></p>

<hr>
<a name="MICRO"></a>
<h2>MICRO</h2>
<p></p>

<hr>
<a name="NANO"></a>
<h2>NANO</h2>
<p></p>

<hr>
<a name="PICO"></a>
<h2>PICO</h2>
<p></p>

<hr>
<a name="append"></a>
<h2>append</h2>
append( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/UnitsConverter.html'>org.das2.datum.UnitsConverter</a> that ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/UnitsConverter.html'>org.das2.datum.UnitsConverter</a>

<p></p>

<h3>Parameters</h3>
that - an UnitsConverter

<h3>Returns:</h3>
org.das2.datum.UnitsConverter

<br><br>
<a href="https://github.com/autoplot/dev/search?q=append&unscoped_q=append">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/UnitsConverter.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/UnitsConverter.html#append">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/UnitsConverter.java">[view source]</a>
<br>
<br>
<hr>
<a name="convert"></a>
<h2>convert</h2>
convert( double value ) &rarr; double

<p>convert the value in the source units to the target units.</p>

<h3>Parameters</h3>
value - value in source units.

<h3>Returns:</h3>
value in target units.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=convert&unscoped_q=convert">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/UnitsConverter.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/UnitsConverter.html#convert">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/UnitsConverter.java">[view source]</a>
<br>
<br>
convert( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html'>Number</a> number ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html'>Number</a><br>
<hr>
<a name="getConverter"></a>
<h2>getConverter</h2>
getConverter( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> fromUnits, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> toUnits ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/UnitsConverter.html'>org.das2.datum.UnitsConverter</a>

<p>lookup the UnitsConverter object that takes numbers from fromUnits to toUnits.
 This will chain together UnitsConverters registered via units.registerConverter.</p>

<h3>Parameters</h3>
fromUnits - an Units
<br>
toUnits - an Units

<h3>Returns:</h3>
UnitsConverter object
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getConverter&unscoped_q=getConverter">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/UnitsConverter.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/UnitsConverter.html#getConverter">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/UnitsConverter.java">[view source]</a>
<br>
<br>
<hr>
<a name="getInverse"></a>
<h2>getInverse</h2>
getInverse(  ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/UnitsConverter.html'>org.das2.datum.UnitsConverter</a>

<p></p>

<h3>Returns:</h3>
org.das2.datum.UnitsConverter

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getInverse&unscoped_q=getInverse">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/datum/UnitsConverter.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/datum/UnitsConverter.html#getInverse">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreDatum/src/org/das2/datum/UnitsConverter.java">[view source]</a>
<br>
<br>