-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: HarmonicOscillatorPotential #262
feat: HarmonicOscillatorPotential #262
Conversation
ddc8d32
to
bc25ccb
Compare
bc25ccb
to
7a288b1
Compare
758791b
to
b7e7f65
Compare
|
||
""" | ||
|
||
omega: AbstractParameter = ParameterField(dimensions="frequency") # type: ignore[assignment] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allow frequency or angular frequency? Or only angular frequency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to offer many input options. On some classes I've starting building the .constructor
method for this. Supporting alternative dimensions for parameters at initialization is a great use case for that. The constructed class always has the same fields with same dimensions, but there are a million ways to get there!
7904050
to
465b613
Compare
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
465b613
to
efb5cf8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
==========================================
+ Coverage 96.57% 96.59% +0.02%
==========================================
Files 76 76
Lines 3003 3028 +25
==========================================
+ Hits 2900 2925 +25
Misses 103 103 ☔ View full report in Codecov by Sentry. |
No description provided.