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

Add example to basis_frequencies #1844

Closed
arobinson905 opened this issue Oct 17, 2022 · 1 comment · Fixed by #3966
Closed

Add example to basis_frequencies #1844

arobinson905 opened this issue Oct 17, 2022 · 1 comment · Fixed by #3966
Assignees
Labels
enhancement New features or code improvements

Comments

@arobinson905
Copy link

Description of the feature

Add an example to basis_frequencies to help the user

Steps for implementing the feature

from pyaedt import Hfss
from pyaedt.modules.SetupTemplates import SweepHFSS

hfss = Hfss(specified_version=version, projectname=proj, designname=gtemDesign, solution_type=solutiontype, setup_name=setupname, non_graphical=False, new_desktop_session=False, close_on_exit=False, student_version=False, machine='', port=0, aedt_process_id=None)
hfsssetup = hfss.setups[0]
hfssSweep = SweepHFSS(hfsssetup, "Setup1", 'Sweep', sweeptype ='Interpolating', props=None)
freqsweep = hfssSweep.basis_frequencies

Useful links and references

No response

@arobinson905 arobinson905 added the enhancement New features or code improvements label Oct 17, 2022
@arobinson905
Copy link
Author

also, basis_frequencies returns Hz, unlike frequencies, which returns GHz. This should be noted in the documentation (or ideally changed so both functions return the same units)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants