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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: adding new driver for Agilent signal generator E8267C #597

Merged
merged 4 commits into from
May 10, 2017

Conversation

euchas
Copy link
Contributor

@euchas euchas commented May 5, 2017

added all basic commands.

why no one likes 馃拑 :(
@giulioungaretti @jenshnielsen

max_value=20e-9))
self.add_parameter(name='phase',
label='Phase',
unit='rad',
Copy link
Collaborator

Choose a reason for hiding this comment

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

looks like this is degrees?


# functions to convert between rad and deg

def deg_to_rad(self, angle_deg):
Copy link
Collaborator

Choose a reason for hiding this comment

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

These functions are in numpy https://docs.scipy.org/doc/numpy/reference/generated/numpy.deg2rad.html perhaps use them from there

Copy link
Contributor

Choose a reason for hiding this comment

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

definitely use numpy !

@euchas
Copy link
Contributor Author

euchas commented May 9, 2017

@jenshnielsen @giulioungaretti fixed the numpy functions

@giulioungaretti giulioungaretti merged commit 858f976 into master May 10, 2017
@jenshnielsen jenshnielsen deleted the agilente8767c branch May 10, 2017 08:26
giulioungaretti pushed a commit that referenced this pull request May 10, 2017
Author: euchas <adomas.valantinas@gmail.com>

    driver: add  Agilent signal generator E8267C (#597)
giulioungaretti pushed a commit that referenced this pull request May 10, 2017
Author: euchas <adomas.valantinas@gmail.com>

    driver: add  Agilent signal generator E8267C (#597)
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.

None yet

3 participants