Skip to content

Mean-trend-removal accuracy #52

@Oseltamivir

Description

@Oseltamivir

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.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions