<hr> <a name="polarToCartesian"></a> <h2>polarToCartesian</h2> polarToCartesian( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>converts a rank 2 bundle of polar data, where ds[:,0] are the radii and ds[:,1] are the angles. Any additional bundled datasets are left alone.</p> <h3>Parameters</h3> ds - a QDataSet <h3>Returns:</h3> bundle of X, Y, and remaining data. <br><br> <a href="https://github.com/autoplot/dev/search?q=polarToCartesian&unscoped_q=polarToCartesian">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#polarToCartesian">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l9799">[view source]</a> <br> <br> <hr> <a name="polyCenters"></a> <h2>polyCenters</h2> polyCenters( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> polyMesh ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>return an array of the centers of each triangle in the triangle mesh.</p> <h3>Parameters</h3> polyMesh - a QDataSet <h3>Returns:</h3> rank 2 ds[n,2]. <h3>See Also:</h3> <a href='null'>Schemes#triangleMesh()</a> <br> <br><br> <a href="https://github.com/autoplot/dev/search?q=polyCenters&unscoped_q=polyCenters">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#polyCenters">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l15854">[view source]</a> <br> <br> <hr> <a name="pow"></a> <h2>pow</h2> pow( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds1, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> pow ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>element-wise pow (** in FORTRAN, ^ in IDL) of two datasets with the compatible geometry.</p> <h3>Parameters</h3> ds1 - the base <br> pow - the exponent <h3>Returns:</h3> the value ds1**pow <br><br> <a href="https://github.com/autoplot/dev/search?q=pow&unscoped_q=pow">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#pow">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l2683">[view source]</a> <br> <br> pow( long x, long y ) → long<br> pow( double x, double y ) → double<br> pow( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> ds1, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> pow ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a><br> <hr> <a name="putBundleProperty"></a> <h2>putBundleProperty</h2> putBundleProperty( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> name, int index, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> value ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/MutablePropertyDataSet.html'>org.das2.qds.MutablePropertyDataSet</a> <p>Like putIndexedProperty, but manages the bundle for the client. This was introduced to make it easier to work with bundles. This converts types often seen in Jython and Java codes to the correct type. For example, ds= putBundleProperty( ds, 'UNITS', 0, 'seconds since 2012-01-01'). The dataset may be copied to make it mutable. If the bundle descriptor dataset is not found, it is added, making the rank 2 dataset a bundle.</p> <h3>Parameters</h3> ds - the rank 1 or rank 2 bundle dataset to which the property is to be set. <br> name - the property name <br> index - the property index <br> value - the property value, which can converted to the proper type. <h3>Returns:</h3> the dataset, possibly converted to a mutable dataset. <br><br> <a href="https://github.com/autoplot/dev/search?q=putBundleProperty&unscoped_q=putBundleProperty">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#putBundleProperty">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l7779">[view source]</a> <br> <br> <hr> <a name="putIndexedProperty"></a> <h2>putIndexedProperty</h2> putIndexedProperty( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> name, int index, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> value ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/MutablePropertyDataSet.html'>org.das2.qds.MutablePropertyDataSet</a> <p>Like putProperty, but this inserts the value at the index. This was introduced to make it easier to work with bundles. This converts types often seen in Jython and Java codes to the correct type. For example, bds= putProperty( bds, 'UNITS', 0, 'seconds since 2012-01-01'). The dataset may be copied to make it mutable.</p> <h3>Parameters</h3> ds - the dataset to which the property is to be set. <br> name - the property name <br> index - the property index <br> value - the property value, which can converted to the proper type. <h3>Returns:</h3> the dataset, possibly converted to a mutable dataset. <br><br> <a href="https://github.com/autoplot/dev/search?q=putIndexedProperty&unscoped_q=putIndexedProperty">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#putIndexedProperty">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l7662">[view source]</a> <br> <br> <hr> <a name="putProperty"></a> <h2>putProperty</h2> putProperty( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> ds, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> name, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> value ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/MutablePropertyDataSet.html'>org.das2.qds.MutablePropertyDataSet</a> <p>converts types often seen in Jython and Java codes to the correct type. For example, <pre>ds= putProperty( [1400,2800], 'UNITS', 'seconds since 2012-01-01')</pre> will convert the string 'seconds since 2012-01-01' into a Unit before assigning it to the dataset.</p> <h3>Parameters</h3> ds - the object which can be interpreted as a dataset, such as a number or array of numbers. <br> name - the property name <br> value - the property value, which can converted to the proper type. <h3>Returns:</h3> the dataset, possibly converted to a mutable dataset. <br><br> <a href="https://github.com/autoplot/dev/search?q=putProperty&unscoped_q=putProperty">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#putProperty">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l7351">[view source]</a> <br> <br> putProperty( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> name, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> value ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/MutablePropertyDataSet.html'>org.das2.qds.MutablePropertyDataSet</a><br> <hr> <a name="putValues"></a> <h2>putValues</h2> putValues( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> ds, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> indices, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> values ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/WritableDataSet.html'>org.das2.qds.WritableDataSet</a> <p>like putProperty, but this inserts values into the dataset. If the dataset is not mutable, then this will make a copy of the data and return the copy.</p> <h3>Parameters</h3> ds - the rank 1 or greater dataset <br> indices - rank 1 indices when ds is rank 1, or rank 2 [:,m] indices for a rank m dataset. <br> values - null for fill, or the rank 0 value or rank 1 values to assign. <h3>Returns:</h3> the dataset with the indices assigned new values. <h3>See Also:</h3> <a href='null'>where(QDataSet)</a> <br> <a href='null'>removeValues(QDataSet, QDataSet)</a> <br> <br><br> <a href="https://github.com/autoplot/dev/search?q=putValues&unscoped_q=putValues">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/ops/Ops_p.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/ops/Ops.html#putValues">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/ops/Ops.java#l7802">[view source]</a> <br> <br> putValues( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> indices, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> value ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/WritableDataSet.html'>org.das2.qds.WritableDataSet</a><br>