Hi,
Just wanted to let the team know about a small error I noticed in mean trend removal.
For the SCC zero-stage-generation branch, this was being used:
if ((j % 2) == 0) {
matrix[idx] = std::sin(angle);
} else {
matrix[idx] = std::cos(angle);
}
But it should be
if ((j % 2) == 0) {
matrix[idx] = std::cos(angle);
} else {
matrix[idx] = std::sin(angle);
}
Attached are the images showing the difference. I am not sure if current main still has this error. I noticed this error due to the obvious phase shift when the temperatures are plotted.

Hi,
Just wanted to let the team know about a small error I noticed in mean trend removal.
For the SCC zero-stage-generation branch, this was being used:
But it should be
Attached are the images showing the difference. I am not sure if current
mainstill has this error. I noticed this error due to the obvious phase shift when the temperatures are plotted.