asu.seismo.signals.seismo
Class seismodata

java.lang.Object
  extended by asu.seismo.signals.seismo.seismodata

public class seismodata
extends java.lang.Object

This class contains seismogram data from one station. Currently the radial and tangential component is stored. ( Eds data )


Constructor Summary
seismodata()
          Constructor for empty seismogram
 
Method Summary
 double getdt()
          Get time step
 seismomarker getMarker(int i)
          Get marker by number
 seismomarker getMarker(java.lang.String s)
          Get marker by name
 int getMarkerNum()
          Get the number of Markers
 doubleSignal1d getRcData()
          Return radial component of the seismogram data
 double getStartTime()
          Get start time.
 java.lang.String getStationName()
          Return station name
 double getStopTime()
          Get stop time.
 doubleSignal1d getTcData()
          Return tangental component of the seismogram data
 graphScale getTimeScale()
          Get the scaling class that relates the discrete timescale (0:length) to the real time
 void loadStation_Ed2(java.lang.String filename, java.lang.String headerformat)
          header format is a string descr. the header e.g.
 void loadStationASCIIData(java.lang.String filename)
          Load Data from an ASCII file.
 void loadStationASCIIHeader(java.lang.String filename)
          Load ASCII station header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

seismodata

public seismodata()
Constructor for empty seismogram

Method Detail

loadStationASCIIHeader

public void loadStationASCIIHeader(java.lang.String filename)
                            throws java.io.IOException
Load ASCII station header. The filename is just the name i.e. without .Rc.header

Throws:
java.io.IOException

loadStationASCIIData

public void loadStationASCIIData(java.lang.String filename)
                          throws java.io.IOException
Load Data from an ASCII file. This method loads the header and radial and tangential component of a seismogram.

Throws:
java.io.IOException

loadStation_Ed2

public void loadStation_Ed2(java.lang.String filename,
                            java.lang.String headerformat)
                     throws java.io.IOException
header format is a string descr. the header e.g. 'start stop sp ptn' start , stop and dt is needed

Throws:
java.io.IOException

getStationName

public java.lang.String getStationName()
Return station name


getRcData

public doubleSignal1d getRcData()
Return radial component of the seismogram data


getTcData

public doubleSignal1d getTcData()
Return tangental component of the seismogram data


getMarkerNum

public int getMarkerNum()
Get the number of Markers


getMarker

public seismomarker getMarker(int i)
Get marker by number


getMarker

public seismomarker getMarker(java.lang.String s)
Get marker by name


getTimeScale

public graphScale getTimeScale()
Get the scaling class that relates the discrete timescale (0:length) to the real time


getStartTime

public double getStartTime()
Get start time.


getStopTime

public double getStopTime()
Get stop time.


getdt

public double getdt()
Get time step