Class SacTimeSeries

java.lang.Object
edu.sc.seis.seisFile.sac.SacTimeSeries

public class SacTimeSeries extends Object
Class that represents a sac file. All headers are have the same names as within the Sac program. Can read the whole file or just the header as well as write a file. This reflects the sac header as of version 101.4 in utils/sac.h Notes: Key to comment flags describing each field: Column 1: R required by SAC (blank) optional Column 2: A = settable from a priori knowledge D = available in data F = available in or derivable from SEED fixed data header T = available in SEED header tables (blank) = not directly available from SEED data, header tables, or elsewhere
  • Constructor Details

    • SacTimeSeries

      public SacTimeSeries(SacHeader header)
    • SacTimeSeries

      public SacTimeSeries(SacHeader header, float[] data)
      create a new SAC timeseries from the given header and data. The header values related to the data are set correctly:
      • npts=data.length
      • e=b+(npts-1)*delta
      • iftype=ITIME
      • leven=TRUE
      Setting of all other headers is the responsibility of the caller.
      Parameters:
      header -
      data -
  • Method Details