<h2>org.das2.qds.OperationsProcessor</h2><p>Implement process chain like "|cleanData()|accum()", performing each command of the sequence.</p> <h2>OperationsProcessor( )</h2> <p></p> <hr> <a name="getArgumentIndex"></a> <h2>getArgumentIndex</h2> getArgumentIndex( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> arg, int deft ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> <p>container for the logic for slicing at an index vs slicing at a datum. If the string is an integer, then we return the index. If the index is a string, then we need to find the corresponding index to the rank 0 dataset elsewhere. If the string argument is not parseable, then deft is returned.</p> <h3>Parameters</h3> arg - String that encodes a datum position or index. <br> deft - default value. <h3>Returns:</h3> an integer index or a dataset indicating the index. <br><br> <a href="https://github.com/autoplot/dev/search?q=getArgumentIndex&unscoped_q=getArgumentIndex">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/OperationsProcessor.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/OperationsProcessor.html#getArgumentIndex">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/OperationsProcessor.java#l62">[view source]</a> <br> <br> <hr> <a name="process"></a> <h2>process</h2> process( <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> c, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>process implements the poorly-named filters string / process string of Autoplot, allowing clients to "pipe" data through a chain of operations. For example, the filters string "|slice0(9)|histogram()" will slice on the ninth index and then take a histogram of that result. See http://www.papco.org/wiki/index.php/DataReductionSpecs (TODO: wiki page was lost, which could probably be recovered.) There's a big problem here: if the command is not recognized, then it is ignored. We should probably change this, but the change should be at a major version change in case it breaks things.</p> <h3>Parameters</h3> ds - The dataset loaded from the data source controller, with initial filters (like fill) applied. <br> c - process string like "slice0(9)|histogram()" <br> mon - monitor for the processing. <h3>Returns:</h3> the dataset after the process string is applied. <h3>See Also:</h3> <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/<a href="http://autoplot/org/developer/dataset/filters">http://autoplot/org/developer/dataset/filters</a>.html'><a href="http://autoplot.org/developer.dataset.filters">http://autoplot.org/developer.dataset.filters</a></a> <br> <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/<a href="http://autoplot/org/developer/panel_rank_reduction">http://autoplot/org/developer/panel_rank_reduction</a>.html'><a href="http://autoplot.org/developer.panel_rank_reduction">http://autoplot.org/developer.panel_rank_reduction</a></a> <br> <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/filters/FilterEditorPanel.html'>org.das2.qds.filters.FilterEditorPanel</a> <br> <a href='https://sourceforge.net/p/autoplot/bugs/2378/'>https://sourceforge.net/p/autoplot/bugs/2378/</a> <br> <br><br> <a href="https://github.com/autoplot/dev/search?q=process&unscoped_q=process">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/OperationsProcessor.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/OperationsProcessor.html#process">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/OperationsProcessor.java#l116">[view source]</a> <br> <br> <hr> <a name="sprocess"></a> <h2><del>sprocess</del></h2> Deprecated: