Skip to content

DC gain evaluation of continous-time transfer functions #127

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

Open
roryyorke opened this issue Jan 4, 2017 · 0 comments
Open

DC gain evaluation of continous-time transfer functions #127

roryyorke opened this issue Jan 4, 2017 · 0 comments

Comments

@roryyorke
Copy link
Contributor

roryyorke commented Jan 4, 2017

From [1], transfer functions evaluated at s=0 are NaN when there are both zeros and poles at the origin:

                    else:
                        # numerator is zero too: give up
                        gain[i][j] = np.nan

We could instead check for an excess of zeros (gain 0), of poles (gain +inf or -inf), or equal number of poles and zeros (gain equal to ratio of lowest non-zero coefficients of numerator and denominator: this is the limit of the TF as s->0).

[1]

else:
# numerator is zero too: give up
gain[i][j] = np.nan

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

2 participants