vec_math
Class DataFileModel

java.lang.Object
  extended by util.CommandLineParser
      extended by util.PropertyParser
          extended by util.DataFileReader
              extended by vec_math.DataFileModel
Direct Known Subclasses:
OrbitFit.File

public abstract class DataFileModel
extends DataFileReader

A data file reader that further specializes on data modelling.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.DataFileReader
DataFileReader.Ascii
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
private static String ZEROSWITCHES
          The switches for adding properties.
 
Fields inherited from class util.DataFileReader
DEFSPLITSIGMA, FOOT, MAP, nf, out, USE
 
Constructor Summary
protected DataFileModel(Map<String,String> sc)
          Constructs the parser to the sensor tester.
 
Method Summary
protected abstract  ModelFitting createModelFitting()
           
protected  boolean processSingleData(VectorG[] workon)
          After filtering/splining/splitting or smoothing of the data, this is the method that processes the single data.
 
Methods inherited from class util.DataFileReader
getData, getLinearFit, getLinearFit, getParsedProperties, getPiecewisePolynomialFit, getPiecewisePolynomialFit, getSplineFit, getSplineFit, getWhiteNoise, getWhiteNoise, print, printOut, printOut, process, processData, processSingleData
 
Methods inherited from class util.PropertyParser
parseMap, parseMap, parseProperties, parseProperties, parseProperties
 
Methods inherited from class util.CommandLineParser
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZEROSWITCHES

private static final String ZEROSWITCHES
The switches for adding properties.

See Also:
Constant Field Values
Constructor Detail

DataFileModel

protected DataFileModel(Map<String,String> sc)
Constructs the parser to the sensor tester. All known switches are registered.

Method Detail

createModelFitting

protected abstract ModelFitting createModelFitting()

processSingleData

protected boolean processSingleData(VectorG[] workon)
Description copied from class: DataFileReader
After filtering/splining/splitting or smoothing of the data, this is the method that processes the single data. Without any of the filtering switches, this is the data read in from the data file. If one also needs the original data, not only the filtered one, override DataFileReader.processSingleData(VectorG[], VectorG[]).

Specified by:
processSingleData in class DataFileReader
Returns:
True if processing was successful.