DATRW++ library: seismic data I/O with multiple formats
sacread.h File Reference

decode sac files (prototypes) More...

#include <istream>
#include <aff/series.h>
Include dependency graph for sacread.h:

Go to the source code of this file.

Classes

struct  datrw::sac::SACheader
 header structure for SAC binary data More...
 

Namespaces

 datrw
 Root namespace of library.
 
 datrw::sac
 all the stuff to read SAC binary data
 

Macros

#define DATRW_SACREAD_H_VERSION   "DATRW_SACREAD_H V1.1"
 

Typedefs

typedef aff::Series< Tvalue > datrw::sac::Tseries
 
typedef float datrw::sac::Tvalue
 binary SAC sample type More...
 

Functions

void datrw::sac::help (std::ostream &os)
 print information about file decoding More...
 
Tseries datrw::sac::read_sac_data (std::istream &is, const int &nsamples)
 read samples from file More...
 
SACheader datrw::sac::read_sac_header (std::istream &is)
 read SAC header from stream More...
 

Detailed Description

decode sac files (prototypes)


Author
Thomas Forbriger
Date
21/12/2004

decode sac files (prototypes)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Copyright (c) 2004 by Thomas Forbriger (BFO Schiltach)

REVISIONS and CHANGES

  • 21/12/2004 V1.0 Thomas Forbriger
  • 18/01/2008 V1.1 changed declaration of SAC structure long is now int; this should provide 4 byte integers on 32bit and 64bit systems as well

Definition in file sacread.h.