Package edu.sc.seis.seisFile.psn
Class PSNHeader
java.lang.Object
edu.sc.seis.seisFile.psn.PSNHeader
public class PSNHeader
extends java.lang.Object
PSNHeader.java
-
Constructor Summary
Constructors Constructor Description PSNHeader(java.io.DataInputStream data)
-
Method Summary
Modifier and Type Method Description short
getAdBitRes()
java.lang.String
getChannelId()
double
getCompAz()
double
getCompIncident()
byte
getCompOrientation()
PSNDateTime
getDateTime()
int
getFlags()
double
getMagCorrect()
int
getNumRecords()
byte
getSampleCompression()
int
getSampleCount()
byte
getSampleDataType()
double
getSampleMax()
double
getSampleMean()
double
getSampleMin()
double
getSampleRate()
double
getSensitivity()
double
getSensorElevation()
double
getSensorLat()
double
getSensorLong()
java.lang.String
getSensorName()
java.lang.String
getSensorNetwork()
byte
getSensorType()
double
getStartTimeOffset()
byte
getTimeRefStatus()
java.lang.String
getTimeRefType()
int
getVarHeadLength()
boolean
isVolumeFile()
java.lang.String
toString()
Returns a string representation of the object.
-
Constructor Details
-
PSNHeader
public PSNHeader(java.io.DataInputStream data) throws java.io.IOException, java.io.FileNotFoundException- Throws:
java.io.IOException
java.io.FileNotFoundException
-
-
Method Details
-
isVolumeFile
public boolean isVolumeFile() -
getNumRecords
public int getNumRecords() -
getVarHeadLength
public int getVarHeadLength() -
getDateTime
-
getStartTimeOffset
public double getStartTimeOffset() -
getSampleRate
public double getSampleRate() -
getSampleCount
public int getSampleCount() -
getFlags
public int getFlags() -
getTimeRefType
public java.lang.String getTimeRefType() -
getTimeRefStatus
public byte getTimeRefStatus() -
getSampleDataType
public byte getSampleDataType() -
getSampleCompression
public byte getSampleCompression() -
getCompIncident
public double getCompIncident() -
getCompAz
public double getCompAz() -
getCompOrientation
public byte getCompOrientation() -
getSensorType
public byte getSensorType() -
getSensorLat
public double getSensorLat() -
getSensorLong
public double getSensorLong() -
getSensorElevation
public double getSensorElevation() -
getSensorName
public java.lang.String getSensorName() -
getChannelId
public java.lang.String getChannelId() -
getSensorNetwork
public java.lang.String getSensorNetwork() -
getSensitivity
public double getSensitivity() -
getMagCorrect
public double getMagCorrect() -
getAdBitRes
public short getAdBitRes() -
getSampleMin
public double getSampleMin() -
getSampleMax
public double getSampleMax() -
getSampleMean
public double getSampleMean() -
toString
public java.lang.String toString()Returns a string representation of the object. In general, thetoString
method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.The
toString
method for classObject
returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@
', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString(hashCode())
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of the object.
-