edu.sc.seis.seisFile.mseed
Class Blockette200
java.lang.Object
edu.sc.seis.seisFile.mseed.Blockette
edu.sc.seis.seisFile.mseed.DataBlockette
edu.sc.seis.seisFile.mseed.Blockette200
- All Implemented Interfaces:
- java.io.Serializable
public class Blockette200
- extends DataBlockette
- See Also:
- Serialized Form
Constructor Summary |
Blockette200(byte[] info,
boolean swapBytes)
|
Blockette200(float signal,
float period,
float background,
Btime signalOnset,
java.lang.String eventDetector)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Blockette200
public Blockette200(float signal,
float period,
float background,
Btime signalOnset,
java.lang.String eventDetector)
Blockette200
public Blockette200(byte[] info,
boolean swapBytes)
throws SeedFormatException
- Throws:
SeedFormatException
getName
public java.lang.String getName()
- Specified by:
getName
in class Blockette
getSize
public int getSize()
- Specified by:
getSize
in class Blockette
getType
public int getType()
- Specified by:
getType
in class Blockette
getSignal
public float getSignal()
- Returns:
- - the signal amplitude field
getPeriod
public float getPeriod()
- Returns:
- - the signal period field
getBackground
public float getBackground()
- Returns:
- - the background estimate field
getSignalOnset
public Btime getSignalOnset()
- Returns:
- - the signal onset time field
getEventDetector
public java.lang.String getEventDetector()
writeASCII
public void writeASCII(java.io.PrintWriter out)
throws java.io.IOException
- Description copied from class:
Blockette
- Writes an ASCII version of the blockette. This is not meant to be a definitive ascii representation,
merely to give something to print for debugging purposes. Ideally each field of each blockette should
be printed in the order they appear in the blockette in a visually appealing way.
- Specified by:
writeASCII
in class Blockette
- Parameters:
out
- a Writer
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object