DATRW++ library: seismic data I/O with multiple formats
datrw::su Namespace Reference

All classes and functions to extract data from Seismic Unix files. More...

Namespaces

 helper
 
 options
 options to be passed between classes definitions
 
 subformat
 subformat definitions
 

Classes

struct  Coordinates
 full set of coordinates.This struct holds a full set of coordinates for a SEG-Y trace header. It provides functions to read the values from a given trace header and to set values in a trace header. Further it provides a function to chose equal scaling values for horizontal coordinates on one hand and vertical coordinates on the other hand. This class combines six members of type datrw::su::ScalCoo in order to scale coordinates coherently. It is used in the set functions of datrw::su::SUheader not as a member data but as a conversion and scaling tool. More...
 
struct  ScalCoo
 scaled coordinate.This struct holds one coordinate together with a scale value. It provides functions to support appropriate scaling and to explore dynamic range. More...
 
class  SUheader
 C++ class to handle Seismic Un*x header struct. More...
 
class  SUReadException
 
struct  TraceHeaderStruct
 SEG-Y and SU trace header as taken from segy.h coming with SeismicUnixsegy - trace identification header. More...
 

Functions

void fixscalevalue (short &s, const bool &strict)
 fix a SeismicUn*x scale value More...
 
options::SUHeaderControl inputmodifiers (const std::string &modifier, const bool &debug)
 evaluate input stream format modifiers More...
 
options::SUHeaderControl outputmodifiers (const std::string &modifier, const bool &debug)
 evaluate output stream format modifiers More...
 
short powertoscale (const int &p)
 convert a decimal power to a SeismicUn*x scale value More...
 
double scalefactor (short s, const bool &strict)
 convert scale value to a factor to be applied More...
 
int scaletopower (short s, const bool &strict)
 convert a SeismicUn*x scale value to a decimal power More...
 

Variables

const bool isbinary =true
 Format properties. More...
 
const char *const streamID ="su"
 Format properties. More...
 

Detailed Description

All classes and functions to extract data from Seismic Unix files.