40#ifndef AC_TOOLBOX_ARR_ASC_READER_DEFINITIONS_H
41#define AC_TOOLBOX_ARR_ASC_READER_DEFINITIONS_H
131 int getTimeArrIndex(
double tx_depth,
double rx_depth,
double rx_range )
const;
140 int getIndex(
float value,
float* array,
int array_size )
const;
190 virtual Pressure*
readAvgPressure(
double frequency,
double tx_depth,
double start_rx_depth,
double start_rx_range,
double end_rx_depth,
double end_rx_range );
201 virtual Pressure*
readPressure(
double frequency,
double tx_depth,
double rx_depth,
double rx_range )
const;
212 virtual TimeArr*
readTimeArr(
double frequency,
double tx_depth,
double rx_depth,
double rx_range )
const;
245 double last_tx_depth;
247 double last_start_rx_depth;
249 double last_start_rx_range;
251 double last_end_rx_depth;
253 double last_end_rx_range;
255 ::std::complex<double> last_ret_value;
265 TimeArr*
accessMap(
double frequency,
double tx_depth,
double rx_depth,
double rx_range )
const {
280 ::std::complex<double>
readMapAvgPressure(
double frequency,
double tx_depth,
double start_rx_depth,
double start_rx_range,
double end_rx_depth,
double end_rx_range );
Class for reading and manipulating results provided by any acoustic toolbox textual ARR file.
Definition ac-toolbox-arr-asc-reader.h:152
bool getArrAscFile()
Definition ac-toolbox-arr-asc-reader.cpp:276
virtual bool initialize()
Definition ac-toolbox-arr-asc-reader.cpp:147
ArrData arr_file
Definition ac-toolbox-arr-asc-reader.h:243
virtual Pressure * readPressure(double frequency, double tx_depth, double rx_depth, double rx_range) const
Definition ac-toolbox-arr-asc-reader.cpp:410
TimeArr * accessMap(double frequency, double tx_depth, double rx_depth, double rx_range) const
Definition ac-toolbox-arr-asc-reader.h:265
bool getArrAscHeader()
Definition ac-toolbox-arr-asc-reader.cpp:155
::std::ifstream file_reader
Definition ac-toolbox-arr-asc-reader.h:232
virtual Pressure * readAvgPressure(double frequency, double tx_depth, double start_rx_depth, double start_rx_range, double end_rx_depth, double end_rx_range)
Definition ac-toolbox-arr-asc-reader.cpp:415
::std::streampos skip_header
Definition ac-toolbox-arr-asc-reader.h:237
virtual TimeArr * readTimeArr(double frequency, double tx_depth, double rx_depth, double rx_range) const
Definition ac-toolbox-arr-asc-reader.cpp:421
bool arr_asc_header_collected
Definition ac-toolbox-arr-asc-reader.h:221
ArrAscResReader()
Definition ac-toolbox-arr-asc-reader.cpp:106
::std::complex< double > readMapAvgPressure(double frequency, double tx_depth, double start_rx_depth, double start_rx_range, double end_rx_depth, double end_rx_range)
Definition ac-toolbox-arr-asc-reader.cpp:427
bool arr_asc_file_collected
Definition ac-toolbox-arr-asc-reader.h:226
class for storing data of any acoustic toolbox ARR file
Definition ac-toolbox-arr-asc-reader.h:58
float frequency
Definition ac-toolbox-arr-asc-reader.h:76
TimeArr * arr_values
Definition ac-toolbox-arr-asc-reader.h:114
int getTimeArrIndex(double tx_depth, double rx_depth, double rx_range) const
Definition ac-toolbox-arr-asc-reader.cpp:91
int32_t Nsd
Definition ac-toolbox-arr-asc-reader.h:82
float * rx_ranges
Definition ac-toolbox-arr-asc-reader.h:109
void initialize()
Definition ac-toolbox-arr-asc-reader.h:120
float * rx_depths
Definition ac-toolbox-arr-asc-reader.h:98
~ArrData()
Definition ac-toolbox-arr-asc-reader.h:70
float * tx_depths
Definition ac-toolbox-arr-asc-reader.h:87
int32_t Nrr
Definition ac-toolbox-arr-asc-reader.h:104
int getIndex(float value, float *array, int array_size) const
Definition ac-toolbox-arr-asc-reader.cpp:68
int32_t Nrd
Definition ac-toolbox-arr-asc-reader.h:93
Complex attenuated pressure class.
Definition pressure-definitions.h:59
Abstract class for channel simulator result files processing.
Definition res-reader.h:59
Channel power delay profile class.
Definition time-arrival-definitions.h:82
Abstract class that provides the interface for initializing and running a channel simulator.
Definition woss.h:94
Provides the interface for woss::ResReader class.
Definitions and library for woss::TimeArr class.