10 #include <isce3/core/DateTime.h>
11 #include <isce3/core/LUT2d.h>
12 #include <isce3/core/Constants.h>
15 #include <isce3/io/Raster.h>
32 inline const std::valarray<double> &
slantRange()
const {
return _slantRange; }
34 inline void slantRange(
const std::valarray<double> & rng) { _slantRange = rng; }
40 inline const std::valarray<double> &
zeroDopplerTime()
const {
return _zeroDopplerTime; }
42 inline void zeroDopplerTime(
const std::valarray<double> & t) { _zeroDopplerTime = t; }
45 inline size_t samples()
const {
return _slantRange.size(); }
48 inline size_t lines()
const {
return _zeroDopplerTime.size(); }
62 return isce3::core::speed_of_light / _processedCenterFrequency;
82 return _sceneCenterAlongTrackSpacing;
86 _sceneCenterAlongTrackSpacing = s;
91 return _sceneCenterGroundRangeSpacing;
95 _sceneCenterGroundRangeSpacing = s;
109 inline std::array<size_t, 2>
validSamples()
const {
return {_validStart, _validEnd}; }
112 _validStart = valid[0];
113 _validEnd = valid[1];
118 std::valarray<double> _slantRange;
119 std::valarray<double> _zeroDopplerTime;
122 double _acquiredCenterFrequency;
123 double _processedCenterFrequency;
124 double _acquiredRangeBandwidth;
125 double _processedRangeBandwidth;
126 double _nominalAcquisitionPRF;
127 double _sceneCenterAlongTrackSpacing;
128 double _sceneCenterGroundRangeSpacing;
129 double _processedAzimuthBandwidth;
size_t lines() const
Get the number of lines.
Definition: Swath.h:48
double processedCenterFrequency() const
Get processed center frequency.
Definition: Swath.h:56
void zeroDopplerTime(const std::valarray< double > &t)
Set zero Doppler time array.
Definition: Swath.h:42
double sceneCenterGroundRangeSpacing() const
Get scene center ground range spacing.
Definition: Swath.h:90
double processedRangeBandwidth() const
Get processed range bandwidth.
Definition: Swath.h:71
size_t samples() const
Get the number of samples.
Definition: Swath.h:45
std::array< size_t, 2 > validSamples() const
Get valid array indices.
Definition: Swath.h:109
const std::valarray< double > & slantRange() const
Get slant range array.
Definition: Swath.h:32
Data structure to store date time to nano-sec precision.
Definition: DateTime.h:18
double processedAzimuthBandwidth() const
Get processed azimuth bandwidth.
Definition: Swath.h:99
void refEpoch(const isce3::core::DateTime &epoch)
Set reference epoch.
Definition: Swath.h:106
double acquiredCenterFrequency() const
Get acquired center frequency.
Definition: Swath.h:51
double rangePixelSpacing() const
Get the range pixel spacing.
Definition: Swath.h:37
void acquiredRangeBandwidth(double b)
Set acquired range bandwidth.
Definition: Swath.h:68
const isce3::core::DateTime & refEpoch() const
Get reference epoch.
Definition: Swath.h:104
void acquiredCenterFrequency(double f)
Set acquired center frequency.
Definition: Swath.h:53
double processedWavelength() const
Get processed wavelength.
Definition: Swath.h:61
void validSamples(const std::array< size_t, 2 > &valid)
Set valid array indices.
Definition: Swath.h:111
void sceneCenterAlongTrackSpacing(double s)
Set scene center along track spacing.
Definition: Swath.h:85
void processedRangeBandwidth(double b)
Set acquired range bandwidth.
Definition: Swath.h:73
void processedAzimuthBandwidth(double b)
Set processed azimuth bandwidth.
Definition: Swath.h:101
void nominalAcquisitionPRF(double f)
Set nominal acquisition PRF.
Definition: Swath.h:78
void sceneCenterGroundRangeSpacing(double s)
Set scene center ground range spacing.
Definition: Swath.h:94
void slantRange(const std::valarray< double > &rng)
Set slant range array.
Definition: Swath.h:34
double sceneCenterAlongTrackSpacing() const
Get scene center along track spacing.
Definition: Swath.h:81
void processedCenterFrequency(double f)
Set processed center frequency.
Definition: Swath.h:58
double acquiredRangeBandwidth() const
Get acquired range bandwidth.
Definition: Swath.h:66
double nominalAcquisitionPRF() const
Get nominal acquisition PRF.
Definition: Swath.h:76
const std::valarray< double > & zeroDopplerTime() const
Get zero Doppler time array.
Definition: Swath.h:40