Class PSNHeader


  • public class PSNHeader
    extends java.lang.Object
    PSNHeader.java
    • Constructor Detail

      • PSNHeader

        public PSNHeader​(java.io.DataInputStream data)
                  throws java.io.IOException,
                         java.io.FileNotFoundException
        Throws:
        java.io.IOException
        java.io.FileNotFoundException
    • Method Detail

      • isVolumeFile

        public boolean isVolumeFile()
      • getNumRecords

        public int getNumRecords()
      • getVarHeadLength

        public int getVarHeadLength()
      • 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, the toString 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 class Object 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 class java.lang.Object
        Returns:
        a string representation of the object.