Skip to content
Snippets Groups Projects
Commit 49218662 authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
Browse files

ENH : Clean some cout

parent 0e759863
No related branches found
No related tags found
No related merge requests found
......@@ -260,12 +260,7 @@ namespace otb
m_FM_C1 = FMRateRecords[polySelected].coef1FMRate;
m_FM_C2 = FMRateRecords[polySelected].coef2FMRate;
m_FM_Tau0 = FMRateRecords[polySelected].tau0FMRate;
std::cout << "m_FM_C0 = " << m_FM_C0 << std::endl;
std::cout << "m_FM_C1 = " << m_FM_C1 << std::endl;
std::cout << "m_FM_C2 = " << m_FM_C2 << std::endl;
std::cout << "m_FM_Tau0 = " << m_FM_Tau0 << std::endl;
return true;
}
......@@ -332,11 +327,6 @@ namespace otb
m_DCF_C2 = DCFRecords[polySelected].coef2DCF;
m_DCF_Tau0 = DCFRecords[polySelected].tau0DCF;
std::cout << "m_DCF_C0 = " << m_DCF_C0 << std::endl;
std::cout << "m_DCF_C1 = " << m_DCF_C1 << std::endl;
std::cout << "m_DCF_C2 = " << m_DCF_C2 << std::endl;
std::cout << "m_DCF_Tau0 = " << m_DCF_Tau0 << std::endl;
return true;
}
......@@ -531,8 +521,6 @@ namespace otb
// Conversion to radians per seconds
aziSteeringRate *= (M_PI/180);
std::cout << "aziSteeringRate = " << aziSteeringRate << std::endl;
m_FirstAziTime = ossimplugins::time::toModifiedJulianDate((inputKWL.GetMetadataByKey("support_data.first_line_time")));
m_FirstRangeTime = std::stod(inputKWL.GetMetadataByKey("support_data.slant_range_to_first_pixel"));
......@@ -566,13 +554,8 @@ namespace otb
m_Ks = (2*m_VSatAtMidAziTime/C) * radarFrequency * aziSteeringRate;
std::cout << "m_FirstAziTime = " << m_FirstAziTime << std::endl;
std::cout << "m_MidAziTime = " << m_MidAziTime << std::endl;
DurationType diffTime = m_MidAziTime - m_FirstAziTime;
std::cout << "diffTime = " << diffTime << std::endl;
m_MidRanTime = m_FirstRangeTime + (nbSampleBurst / (2*m_RangeSamplingRate));
// Polynomial selection (FM Rate and Doppler Centroid Frequency)
......@@ -584,7 +567,6 @@ namespace otb
m_RefTimeMid = - (this->applyDCFCoefs(nbSampleBurst / 2) / this->applyFMRateCoefs(nbSampleBurst / 2));
std::cout << "m_RefTime0 = " << m_RefTime0 << std::endl;
}
}
......
......@@ -183,12 +183,7 @@ namespace otb
m_FM_C1 = FMRateRecords[polySelected].coef1FMRate;
m_FM_C2 = FMRateRecords[polySelected].coef2FMRate;
m_FM_Tau0 = FMRateRecords[polySelected].tau0FMRate;
std::cout << "m_FM_C0 = " << m_FM_C0 << std::endl;
std::cout << "m_FM_C1 = " << m_FM_C1 << std::endl;
std::cout << "m_FM_C2 = " << m_FM_C2 << std::endl;
std::cout << "m_FM_Tau0 = " << m_FM_Tau0 << std::endl;
return true;
}
......@@ -240,11 +235,6 @@ namespace otb
m_DCF_C2 = DCFRecords[polySelected].coef2DCF;
m_DCF_Tau0 = DCFRecords[polySelected].tau0DCF;
std::cout << "m_DCF_C0 = " << m_DCF_C0 << std::endl;
std::cout << "m_DCF_C1 = " << m_DCF_C1 << std::endl;
std::cout << "m_DCF_C2 = " << m_DCF_C2 << std::endl;
std::cout << "m_DCF_Tau0 = " << m_DCF_Tau0 << std::endl;
return true;
}
......@@ -327,8 +317,6 @@ namespace otb
// Conversion to radians per seconds
aziSteeringRate *= (M_PI/180);
std::cout << "aziSteeringRate = " << aziSteeringRate << std::endl;
m_FirstAziTime = ossimplugins::time::toModifiedJulianDate((inputKWL.GetMetadataByKey("support_data.first_line_time")));
m_FirstRangeTime = std::stod(inputKWL.GetMetadataByKey("support_data.slant_range_to_first_pixel"));
......@@ -360,14 +348,9 @@ namespace otb
m_VSatAtMidAziTime = std::sqrt(satvel[0]*satvel[0] + satvel[1]*satvel[1] + satvel[2]*satvel[2]);
m_Ks = (2*m_VSatAtMidAziTime/C) * radarFrequency * aziSteeringRate;
std::cout << "m_FirstAziTime = " << m_FirstAziTime << std::endl;
std::cout << "m_MidAziTime = " << m_MidAziTime << std::endl;
DurationType diffTime = m_MidAziTime - m_FirstAziTime;
std::cout << "diffTime = " << diffTime << std::endl;
m_MidRanTime = m_FirstRangeTime + (nbSampleBurst / (2*m_RangeSamplingRate));
// Polynomial selection (FM Rate and Doppler Centroid Frequency)
......@@ -378,8 +361,6 @@ namespace otb
m_RefTime0 = - (this->applyDCFCoefs(0) / this->applyFMRateCoefs(0));
m_RefTimeMid = - (this->applyDCFCoefs(nbSampleBurst / 2) / this->applyFMRateCoefs(nbSampleBurst / 2));
std::cout << "m_RefTime0 = " << m_RefTime0 << std::endl;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment