Skip to content

Reinclude Chebyshev, or actually don't and remove the traces and tell users why #67

@pavelkomarov

Description

@pavelkomarov

Hi Floris, I've finally finished all work on my spectral-derivatives repo and am turning full attention to pynumdiff. I'm using issues as a task tracker for myself, as I'm wont to do, and decided the upstream repo is better for this rather than my own fork, both so you can feed back as I go if you want to and so the record of these things is long-lived after I finish and nuke my own fork. Hope the emails don't get too annoying.

First up, I spent a long while working on trying to make my spectral methods better in the presence of noise, but the end result of that is mostly the realization that polynomial bases are just not very good for this, because, as you discovered in the past, there is systematic sensitivity and blowup at the domain edges for theoretical reasons.

In the past you removed Chebyshev-based methods because (1) performance was bad in the presence of noise and (2) your code (now remaining as comments) was based on a long-unsupported package. I can offer to solve the second problem with spectral-derivatives, and it might be nice to offer this method in the case someone wants to numerically differentiate clean data. I propose we do that to clean up the ghostly code, or we make the firm decision not to support this method and then put an argument for why somewhere in the documentation or papers.

Metadata

Metadata

Assignees

Labels

researchwhen a task requires some experimentation or diving into papers and math

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions