Skip to content
Snippets Groups Projects
Commit 945fbf14 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

TEST: print the correct line for reflectances also

parent ec046bf6
No related branches found
No related tags found
No related merge requests found
......@@ -279,14 +279,19 @@ ReduceSpectralResponse<TSpectralResponse , TRSR>
os<<std::endl;
os << "spectre " << m_InputSpectralResponse <<std::endl;
os << "Sat RSR " << m_InputSatRSR <<std::endl;
os<<std::endl;
if(m_ReflectanceMode)
{
os << "Solar irradiance " << std::endl;
this->m_InputSatRSR->GetSolarIrradiance()->PrintSelf(os, indent);
os<<std::endl;
os <<indent << "[Center Wavelength (micrometers), Reflectance (percent)]" << std::endl;
}
os<<std::endl;
else{
os <<indent << "[Center Wavelength (micrometers), Luminance (percent)]" << std::endl;
}
for(typename VectorPairType::const_iterator it = m_ReduceResponse->GetResponse().begin(); it != m_ReduceResponse->GetResponse().end(); ++it)
{
os <<indent << "Band Nb : "<< it - m_ReduceResponse->GetResponse().begin() << ": [" << (*it).first << ","<< (*it).second << "]" << 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