-
Notifications
You must be signed in to change notification settings - Fork 86
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
Feature/keithley 2000 scan #85
Feature/keithley 2000 scan #85
Conversation
@MarceloSemO Thank you for the contribution. I will start the review ASAP. |
I have kind of general comments from skimming in the files:
|
c4ad53a
to
41ae3a9
Compare
Thanks for the feedback, I added docstrings and typings. Two problems/questions are remaining:
|
@MarceloSemO I pushed a small fix for the circular import. Basically you need to only import the Parent instrument into the scan module when you are typechecking |
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.
I agree that validators are not needed for get only parameters. I left a few suggestions inline
@MarceloSemO Regarding the first question, there is no need for validators for only-gettable parameters. Thanks for the changes. I am reviewing it in a continuous basis. |
40021eb
to
4350928
Compare
@jenshnielsen and @FarBo, thank you very much for your comments! I have implemented the changes you suggested and performed a rebase with respect to the latest commit on the master branch. I think the pull request should now be ready to be merged. |
05eebd2
to
4350928
Compare
…sier access and better readability
- undo renaming of keyword argument 'channel' - correct docstring for parameter 'NPLC' - rename private functions ('measure' -> '_measure') - use full path for InstrumentChannel import - raise error if wrong terminal is active
The method Keithley.measure was renamed to Keithley._measure in commit 4350928. In the class Keithley_Sense, however, the method call to this method has not been renamed accordingly. This commit fixes this error.
d387d54
to
683cc86
Compare
I have now re-run the notebook and implemented the required changes. I also performed a rebase, now the PR should be ready to be merged. |
New features:
dmm.resistance.get()
instead ofdmm.measure.res.get()
. The latter still works to ensure "downwards" compatibilty.)