## org.autoplot.cefdatasource.DataSetOps

## DataSetOps( )

## collapse

collapse( QDataSet ds ) → org.das2.qds.DDataSet

averages all the leaf-node data together to reduce rank by one.

### Parameters

ds - rank 4 qube dataset. (Future implementation will support lower ranks and non-qube datasets.)

### Returns:

DDataSet of rank 4-1.
[search for examples] [view on GitHub] [view on old javadoc]

## collapse2

collapse2( QDataSet ds ) → org.das2.qds.DDataSet

averages all the data from the third dimension together to reduce rank by one.

### Parameters

ds - rank 4 dataset

### Returns:

DDataSet of rank 4-1.
[search for examples] [view on GitHub] [view on old javadoc]

## collapse3

collapse3( QDataSet ds ) → org.das2.qds.DDataSet

averages all the data from the third dimension together to reduce rank by one.

### Parameters

ds - rank 3 dataset

### Returns:

DDataSet of rank 3-1.
[search for examples] [view on GitHub] [view on old javadoc]