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

Fix for #662 and other minor corrections #666

Merged
merged 2 commits into from
May 20, 2022
Merged

Conversation

Vinc0110
Copy link
Collaborator

Converts array-like parameters in various Media methods to NumPy arrays.

In addition, I made a few corrections to the formatting and removed incorrect *args

@github-actions github-actions bot added the Media label May 16, 2022
@Vinc0110 Vinc0110 linked an issue May 16, 2022 that may be closed by this pull request
r"""
Shunted capacitor.

Parameters
----------
C : number, array-like
Capacitance in Farads.
\*args,\*\*kwargs : arguments, keyword arguments
\*\*kwargs : arguments, keyword arguments
passed to func:`delay_open`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
passed to func:`delay_open`
passed to func:`capacitor`

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I found and corrected quite a few more of those things

@jhillairet
Copy link
Member

OK to merge?

@Vinc0110
Copy link
Collaborator Author

Yes, that should be all. Can I give it a shot and merge it myself?

@jhillairet
Copy link
Member

sure!

@Vinc0110 Vinc0110 merged commit 65b49c7 into scikit-rf:master May 20, 2022
@Vinc0110 Vinc0110 deleted the fix662 branch May 20, 2022 18:05
@jhillairet jhillairet mentioned this pull request Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to Create Frequency-Dependent Resistors from a Media
2 participants