Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend pade_delay_error to accept readout time #157

Open
arvoelke opened this issue Dec 6, 2018 · 0 comments
Open

Extend pade_delay_error to accept readout time #157

arvoelke opened this issue Dec 6, 2018 · 0 comments

Comments

@arvoelke
Copy link
Owner

arvoelke commented Dec 6, 2018

The error function is non-uniform across the window. Can be generated via the following extension (used in the NECO paper, Figure 4 via this code):

theta_times_freq = 1.0
r = 0.5
q = 6

A, B, _, D = PadeDelay(1., order=q).ss
C = readout(q, r)
tf = LinearSystem((A, B, C, D))

s = 2j * np.pi * theta_times_freq
return np.abs(np.exp(-r * s) - tf(s)))

Can also support arrays for r in readout, and document/expose that helper. And then support arrays for the r in this helper to generate a matrix shaped as (len(theta_times_freq), len(r)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant