conv/many suite: convert (m)any seismic data format(s)
gapfunctions.h
Go to the documentation of this file.
1 
38 // include guard
39 #ifndef TF_GAPFUNCTIONS_H_VERSION
40 
41 #define TF_GAPFUNCTIONS_H_VERSION \
42  "TF_GAPFUNCTION_H V1.0 "
43 
44 #include <iostream>
45 #include <libtime++.h>
46 #include "structgapanalysis.h"
47 #include "completenessbins.h"
48 #include "structgapseries.h"
49 
50 Tvecofgaps gaps(const libtime::TAbsoluteTime& earliest,
51  const libtime::TAbsoluteTime& latest,
52  const TContiguouslist& cl,
53  const bool& debug=false);
54 
55 void printgaps(std::ostream& os, const Tvecofgaps& vog,
56  const libtime::TAbsoluteTime& earliest,
57  const libtime::TAbsoluteTime& latest,
58  const unsigned int& summarizelevel=0);
59 
61  const bool& debug=false);
62 
64  const CompletenessBins& cb,
65  const bool& debug=false);
66 
67 void gnuplotplot(std::ostream& os,
68  const std::string& psname,
69  const CompletenessBins& cb,
70  const Tvecofgaps& vog);
71 
72 #endif // TF_GAPFUNCTIONS_H_VERSION (includeguard)
73 
74 /* ----- END OF gapfunctions.h ----- */
GapSeries seriesofmissingsamples(const Gapsofstream &gos, const CompletenessBins &cb, const bool &debug=false)
Function to extract a GapSeries from given Gapsofstream.
a class to hold a gap series for one stream
void printgaps(std::ostream &os, const Tvecofgaps &vog, const libtime::TAbsoluteTime &earliest, const libtime::TAbsoluteTime &latest, const unsigned int &summarizelevel=0)
Definition: fnprintgaps.cc:46
structs used in primary gap analysis (prototypes)
class to define completenessbins (prototypes)
class to define the time axis of the completeness time series.
struct to hold gaps of one stream
CompletenessSeries completeness(const GapSeries &gs, const bool &debug=false)
convert gaps to completeness
void gnuplotplot(std::ostream &os, const std::string &psname, const CompletenessBins &cb, const Tvecofgaps &vog)
a class to hold a completeness series for one stream
std::list< Contiguous > TContiguouslist
A list to store information on all sequences of contiguous data.
Tvecofgaps gaps(const libtime::TAbsoluteTime &earliest, const libtime::TAbsoluteTime &latest, const TContiguouslist &cl, const bool &debug=false)
Definition: fngaps.cc:47
std::vector< Gapsofstream > Tvecofgaps
vector to hold all gaps
all structs use to produce series of gaps and series of completeness (prototypes) ...