Skip to content
Snippets Groups Projects
Commit e7be7f3b authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH: activate reflectance mode for spectral response reduction in LAIProsailExample

parent 667dc075
No related branches found
No related tags found
No related merge requests found
...@@ -335,7 +335,9 @@ public: ...@@ -335,7 +335,9 @@ public:
// Software Guide : BeginLatex // Software Guide : BeginLatex
// //
// Satellite RSR is initialized and set with \code{aResponse}. // Satellite RSR is initialized and set with \code{aResponse}. Reflectance
// mode is used in this case to take into account solar irradiance into
// spectral response reduction.
// //
// Software Guide : EndLatex // Software Guide : EndLatex
...@@ -343,6 +345,9 @@ public: ...@@ -343,6 +345,9 @@ public:
ReduceResponseTypePointerType reduceResponse = ReduceResponseType::New(); ReduceResponseTypePointerType reduceResponse = ReduceResponseType::New();
reduceResponse->SetInputSatRSR(m_SatRSR); reduceResponse->SetInputSatRSR(m_SatRSR);
reduceResponse->SetInputSpectralResponse(aResponse); reduceResponse->SetInputSpectralResponse(aResponse);
reduceResponse->SetReflectanceMode(true);
reduceResponse->CalculateResponse(); reduceResponse->CalculateResponse();
VectorPairType reducedResponse = VectorPairType reducedResponse =
reduceResponse->GetReduceResponse()->GetResponse(); reduceResponse->GetReduceResponse()->GetResponse();
......
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