mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
Add true n_samples in ambiguity
This commit is contained in:
parent
ef0739a49b
commit
a9077fc26f
2 changed files with 7 additions and 0 deletions
|
@ -102,6 +102,7 @@ Map<std::complex<double>> *Ambiguity::process(IqData *x, IqData *y)
|
||||||
}
|
}
|
||||||
|
|
||||||
// range processing
|
// range processing
|
||||||
|
nSamples = nDopplerBins * nCorr;
|
||||||
for (uint16_t i = 0; i < nDopplerBins; i++)
|
for (uint16_t i = 0; i < nDopplerBins; i++)
|
||||||
{
|
{
|
||||||
for (uint16_t j = 0; j < nCorr; j++)
|
for (uint16_t j = 0; j < nCorr; j++)
|
||||||
|
@ -193,3 +194,7 @@ double Ambiguity::get_cpi() const {
|
||||||
uint32_t Ambiguity::get_nfft() const {
|
uint32_t Ambiguity::get_nfft() const {
|
||||||
return nfft;
|
return nfft;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t Ambiguity::get_n_samples() const {
|
||||||
|
return nSamples;
|
||||||
|
}
|
|
@ -55,6 +55,8 @@ public:
|
||||||
|
|
||||||
uint32_t get_nfft() const;
|
uint32_t get_nfft() const;
|
||||||
|
|
||||||
|
uint32_t get_n_samples() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// @brief Minimum delay (bins).
|
/// @brief Minimum delay (bins).
|
||||||
int32_t delayMin;
|
int32_t delayMin;
|
||||||
|
|
Loading…
Reference in a new issue