net.beadsproject.beads.analysis.featureextractors
Class BasicDataWriter

java.lang.Object
  extended by net.beadsproject.beads.core.Bead
      extended by net.beadsproject.beads.analysis.FeatureExtractor<float[],float[]>
          extended by net.beadsproject.beads.analysis.featureextractors.BasicDataWriter

public class BasicDataWriter
extends FeatureExtractor<float[],float[]>

BasicDataWriter grabs forwarded feature data and prints it to a file in a simple format. Each line contains a new set of features. Each individual feature is separated by whitespace.


Field Summary
 
Fields inherited from class net.beadsproject.beads.analysis.FeatureExtractor
featureDescriptions, features, name, numFeatures
 
Constructor Summary
BasicDataWriter(java.io.FileOutputStream fos)
          Instantiates a new BasicDataWriter with the given FileOutputStream.
 
Method Summary
 void process(float[] data)
          Process some data of type P (specified by the class def).
 
Methods inherited from class net.beadsproject.beads.analysis.FeatureExtractor
getFeatureDescriptions, getFeatures, getName, getNumberOfFeatures, setName, setNumberOfFeatures
 
Methods inherited from class net.beadsproject.beads.core.Bead
getKillListener, isDeleted, isPaused, kill, message, messageReceived, pause, setKillListener, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicDataWriter

public BasicDataWriter(java.io.FileOutputStream fos)
Instantiates a new BasicDataWriter with the given FileOutputStream.

Parameters:
fos - the FileOutputStream.
Method Detail

process

public void process(float[] data)
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[]>
Parameters:
data - the data.