net.beadsproject.beads.analysis.featureextractors
Class ReBin
java.lang.Object
net.beadsproject.beads.core.Bead
net.beadsproject.beads.analysis.FeatureExtractor<float[],float[]>
net.beadsproject.beads.analysis.featureextractors.ReBin
public class ReBin
- extends FeatureExtractor<float[],float[]>
ReBin takes an array of float data and places the data into a smaller array, the size of which is specified by the number of features.
Constructor Summary |
ReBin(int numFeatures)
Instantiates a new ReBin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReBin
public ReBin(int numFeatures)
- Instantiates a new ReBin.
- Parameters:
numFeatures
- the number of features.
setNumberOfFeatures
public void setNumberOfFeatures(int nf)
- Description copied from class:
FeatureExtractor
- Sets the number of features.
- Overrides:
setNumberOfFeatures
in class FeatureExtractor<float[],float[]>
- Parameters:
nf
- the new number of features.
process
public void process(TimeStamp startTime,
TimeStamp endTime,
float[] original)
- Description copied from class:
FeatureExtractor
- Process some data of type P (specified by the class def). This method must be overidden by implementing classes.
- Specified by:
process
in class FeatureExtractor<float[],float[]>
original
- the data.