<h2>org.autoplot.cefdatasource.DataSetOps</h2><p></p> <h2>DataSetOps( )</h2> <p></p> <hr> <a name="collapse"></a> <h2>collapse</h2> collapse( <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/DDataSet.html'>org.das2.qds.DDataSet</a> <p>averages all the leaf-node data together to reduce rank by one.</p> <h3>Parameters</h3> ds - rank 4 qube dataset. (Future implementation will support lower ranks and non-qube datasets.) <h3>Returns:</h3> DDataSet of rank 4-1. <br><br> <a href="https://github.com/autoplot/dev/search?q=collapse&unscoped_q=collapse">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/cefdatasource/DataSetOps.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/cefdatasource/DataSetOps.html#collapse">[view on old javadoc]</a> <br> <br> <hr> <a name="collapse2"></a> <h2>collapse2</h2> collapse2( <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/DDataSet.html'>org.das2.qds.DDataSet</a> <p>averages all the data from the third dimension together to reduce rank by one.</p> <h3>Parameters</h3> ds - rank 4 dataset <h3>Returns:</h3> DDataSet of rank 4-1. <br><br> <a href="https://github.com/autoplot/dev/search?q=collapse2&unscoped_q=collapse2">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/cefdatasource/DataSetOps.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/cefdatasource/DataSetOps.html#collapse2">[view on old javadoc]</a> <br> <br> <hr> <a name="collapse3"></a> <h2>collapse3</h2> collapse3( <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/DDataSet.html'>org.das2.qds.DDataSet</a> <p>averages all the data from the third dimension together to reduce rank by one.</p> <h3>Parameters</h3> ds - rank 3 dataset <h3>Returns:</h3> DDataSet of rank 3-1. <br><br> <a href="https://github.com/autoplot/dev/search?q=collapse3&unscoped_q=collapse3">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/cefdatasource/DataSetOps.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/cefdatasource/DataSetOps.html#collapse3">[view on old javadoc]</a> <br> <br>