OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
SQ_ADSR.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef SQ_ADSR_h
13 #define SQ_ADSR_h
14 
15 #include <iostream>
17 
18 namespace ossimplugins
19 {
24 class SQ_ADSR : public EnvisatAsarRecord
25 {
26 public:
30  SQ_ADSR();
31 
35  virtual ~SQ_ADSR();
36 
40  friend std::ostream& operator<<(std::ostream& os, const SQ_ADSR& data);
41 
45  friend std::istream& operator>>(std::istream& is, SQ_ADSR& data);
46 
50  SQ_ADSR(const SQ_ADSR& rhs);
51 
55  SQ_ADSR& operator=(const SQ_ADSR& rhs);
56 
61  {
62  return new SQ_ADSR();
63  };
64 
69  {
70  return new SQ_ADSR(*this);
71  };
72 
76  void Read(std::istream& is)
77  {
78  is>>*this;
79  };
80 
84  void Write(std::ostream& os)
85  {
86  os<<*this;
87  };
88 
89 
93  std::string get_zero_doppler_time()
94  {
95  return _zero_doppler_time;
96  };
101  {
102  return _attach_flag;
103  };
108  {
109  return _input_mean_flag;
110  };
115  {
116  return _input_std_dev_flag;
117  };
122  {
123  return _input_gaps_flag;
124  };
129  {
131  };
136  {
137  return _dop_cen_flag;
138  };
143  {
144  return _dop_amb_flag;
145  };
150  {
151  return _output_mean_flag;
152  };
157  {
158  return _output_std_dev_flag;
159  };
164  {
165  return _chirp_flag;
166  };
171  {
172  return _missing_data_set_flag;
173  };
178  {
179  return _invalid_downlink_flag;
180  };
185  {
187  };
192  {
193  return _thresh_chirp_sidelobe;
194  };
199  {
200  return _thresh_chirp_islr;
201  };
206  {
207  return _thresh_input_mean;
208  };
213  {
214  return _exp_input_mean;
215  };
220  {
221  return _thresh_input_std_dev;
222  };
227  {
228  return _exp_input_std_dev;
229  };
234  {
235  return _thresh_dop_cen;
236  };
241  {
242  return _thresh_dop_amb;
243  };
248  {
249  return _thresh_output_mean;
250  };
255  {
256  return _exp_output_mean;
257  };
262  {
263  return _thresh_output_std_dev;
264  };
269  {
270  return _exp_output_std_dev;
271  };
276  {
278  };
283  {
284  return _thresh_input_gaps;
285  };
289  unsigned int get_lines_per_gaps()
290  {
291  return _lines_per_gaps;
292  };
296  float* get_input_mean()
297  {
298  return _input_mean;
299  };
304  {
305  return _input_std_dev;
306  };
310  float get_num_gaps()
311  {
312  return _num_gaps;
313  };
318  {
319  return _num_missing_lines;
320  };
325  {
326  return _output_mean;
327  };
332  {
333  return _output_std_dev;
334  };
338  unsigned int get_tot_errors()
339  {
340  return _tot_errors;
341  };
342 
343 
347  std::string _zero_doppler_time;
459  unsigned int _lines_per_gaps;
463  float _input_mean[2];
467  float _input_std_dev[2];
471  float _num_gaps;
479  float _output_mean[2];
483  float _output_std_dev[2];
487  unsigned int _tot_errors;
488 
489 
490 private:
491 
492 };
493 }
494 #endif
495 
496 
bool _input_std_dev_flag
input_std_dev_flag
Definition: SQ_ADSR.h:359
bool get_input_gaps_flag()
input_gaps_flag
Definition: SQ_ADSR.h:121
float get_thresh_chirp_sidelobe()
thresh_chirp_sidelobe
Definition: SQ_ADSR.h:191
float _input_std_dev[2]
input_std_dev[2]
Definition: SQ_ADSR.h:467
bool get_output_std_dev_flag()
output_std_dev_flag
Definition: SQ_ADSR.h:156
float _num_missing_lines
num_missing_lines
Definition: SQ_ADSR.h:475
bool _missing_data_set_flag
missing_data_set_flag
Definition: SQ_ADSR.h:391
unsigned int get_tot_errors()
tot_errors
Definition: SQ_ADSR.h:338
bool get_input_std_dev_flag()
input_std_dev_flag
Definition: SQ_ADSR.h:114
float get_exp_input_mean()
exp_input_mean
Definition: SQ_ADSR.h:212
EnvisatAsarRecord * Instanciate()
This function is able to create a new instance of the class.
Definition: SQ_ADSR.h:60
std::string get_zero_doppler_time()
zero_doppler_time
Definition: SQ_ADSR.h:93
std::string _zero_doppler_time
zero_doppler_time
Definition: SQ_ADSR.h:341
float get_exp_output_std_dev()
exp_output_std_dev
Definition: SQ_ADSR.h:268
bool _dop_cen_flag
dop_cen_flag
Definition: SQ_ADSR.h:371
float _exp_output_mean
exp_output_mean
Definition: SQ_ADSR.h:439
float _exp_input_std_dev
exp_input_std_dev
Definition: SQ_ADSR.h:423
float get_thresh_input_gaps()
thresh_input_gaps
Definition: SQ_ADSR.h:282
float get_thresh_chirp_islr()
thresh_chirp_islr
Definition: SQ_ADSR.h:198
float get_thres_chirp_broadening()
thres_chirp_broadening
Definition: SQ_ADSR.h:184
float _output_mean[2]
output_mean[2]
Definition: SQ_ADSR.h:479
bool get_dop_cen_flag()
dop_cen_flag
Definition: SQ_ADSR.h:135
void Read(std::istream &is)
Reads the class data from a stream.
Definition: SQ_ADSR.h:76
unsigned int _tot_errors
tot_errors
Definition: SQ_ADSR.h:487
float * get_output_mean()
output_mean[2]
Definition: SQ_ADSR.h:324
float get_num_gaps()
num_gaps
Definition: SQ_ADSR.h:310
This class is able to read the ASAR SQ_ADSR record.
Definition: SQ_ADSR.h:24
SQ_ADSR & operator=(const SQ_ADSR &rhs)
Copy operator.
Definition: SQ_ADSR.cpp:315
float get_thresh_dop_cen()
thresh_dop_cen
Definition: SQ_ADSR.h:233
float _thresh_input_std_dev
thresh_input_std_dev
Definition: SQ_ADSR.h:419
float get_num_missing_lines()
num_missing_lines
Definition: SQ_ADSR.h:317
float _output_std_dev[2]
output_std_dev[2]
Definition: SQ_ADSR.h:483
float _thresh_chirp_sidelobe
thresh_chirp_sidelobe
Definition: SQ_ADSR.h:403
bool _chirp_flag
chirp_flag
Definition: SQ_ADSR.h:387
EnvisatAsarRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
Definition: SQ_ADSR.h:68
void Write(std::ostream &os)
Writes the class to a stream.
Definition: SQ_ADSR.h:84
unsigned int get_lines_per_gaps()
lines_per_gaps
Definition: SQ_ADSR.h:289
bool _input_missing_lines_flag
input_missing_lines_flag
Definition: SQ_ADSR.h:367
SQ_ADSR()
Constructor.
Definition: SQ_ADSR.cpp:16
bool get_input_missing_lines_flag()
input_missing_lines_flag
Definition: SQ_ADSR.h:128
float _thresh_input_gaps
thresh_input_gaps
Definition: SQ_ADSR.h:455
float _thresh_chirp_islr
thresh_chirp_islr
Definition: SQ_ADSR.h:407
bool _input_mean_flag
input_mean_flag
Definition: SQ_ADSR.h:355
float _thresh_dop_amb
thresh_dop_amb
Definition: SQ_ADSR.h:431
float _input_mean[2]
input_mean[2]
Definition: SQ_ADSR.h:463
bool _invalid_downlink_flag
invalid_downlink_flag
Definition: SQ_ADSR.h:395
unsigned int _lines_per_gaps
lines_per_gaps
Definition: SQ_ADSR.h:459
float _thresh_input_mean
thresh_input_mean
Definition: SQ_ADSR.h:411
float get_exp_input_std_dev()
exp_input_std_dev
Definition: SQ_ADSR.h:226
float get_thresh_input_std_dev()
thresh_input_std_dev
Definition: SQ_ADSR.h:219
friend std::istream & operator>>(std::istream &is, SQ_ADSR &data)
This function read a SQ_ADSR from a stream.
Definition: SQ_ADSR.cpp:108
bool get_dop_amb_flag()
dop_amb_flag
Definition: SQ_ADSR.h:142
float _exp_output_std_dev
exp_output_std_dev
Definition: SQ_ADSR.h:447
float _thresh_input_missing_lines
thresh_input_missing_lines
Definition: SQ_ADSR.h:451
float _thres_chirp_broadening
thres_chirp_broadening
Definition: SQ_ADSR.h:399
float _thresh_output_mean
thresh_output_mean
Definition: SQ_ADSR.h:435
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
float * get_input_std_dev()
input_std_dev[2]
Definition: SQ_ADSR.h:303
bool _output_mean_flag
output_mean_flag
Definition: SQ_ADSR.h:379
float * get_input_mean()
input_mean[2]
Definition: SQ_ADSR.h:296
float get_thresh_input_missing_lines()
thresh_input_missing_lines
Definition: SQ_ADSR.h:275
bool _attach_flag
attach_flag
Definition: SQ_ADSR.h:351
This class is the base class of all the Envisat ASAR record classes.
bool get_missing_data_set_flag()
missing_data_set_flag
Definition: SQ_ADSR.h:170
float _thresh_output_std_dev
thresh_output_std_dev
Definition: SQ_ADSR.h:443
bool get_invalid_downlink_flag()
invalid_downlink_flag
Definition: SQ_ADSR.h:177
float _num_gaps
num_gaps
Definition: SQ_ADSR.h:471
bool get_output_mean_flag()
output_mean_flag
Definition: SQ_ADSR.h:149
float * get_output_std_dev()
output_std_dev[2]
Definition: SQ_ADSR.h:331
float get_thresh_input_mean()
thresh_input_mean
Definition: SQ_ADSR.h:205
bool get_input_mean_flag()
input_mean_flag
Definition: SQ_ADSR.h:107
float get_thresh_output_mean()
thresh_output_mean
Definition: SQ_ADSR.h:247
bool get_attach_flag()
attach_flag
Definition: SQ_ADSR.h:100
float _exp_input_mean
exp_input_mean
Definition: SQ_ADSR.h:415
float get_thresh_dop_amb()
thresh_dop_amb
Definition: SQ_ADSR.h:240
virtual ~SQ_ADSR()
Destructor.
Definition: SQ_ADSR.cpp:20
bool _output_std_dev_flag
output_std_dev_flag
Definition: SQ_ADSR.h:383
float _thresh_dop_cen
thresh_dop_cen
Definition: SQ_ADSR.h:427
float get_exp_output_mean()
exp_output_mean
Definition: SQ_ADSR.h:254
bool _dop_amb_flag
dop_amb_flag
Definition: SQ_ADSR.h:375
friend std::ostream & operator<<(std::ostream &os, const SQ_ADSR &data)
This function write the SQ_ADSR in a stream.
Definition: SQ_ADSR.cpp:26
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
bool _input_gaps_flag
input_gaps_flag
Definition: SQ_ADSR.h:363
bool get_chirp_flag()
chirp_flag
Definition: SQ_ADSR.h:163
float get_thresh_output_std_dev()
thresh_output_std_dev
Definition: SQ_ADSR.h:261