Skip to content

Add new DSO functions#253

Open
Jasper-Harvey0 wants to merge 4 commits intomainfrom
add-dso-functions
Open

Add new DSO functions#253
Jasper-Harvey0 wants to merge 4 commits intomainfrom
add-dso-functions

Conversation

@Jasper-Harvey0
Copy link
Collaborator

Invert and Vtime functions are not currently implemented in the DSO function.
This PR is just adding them.

Copy link
Collaborator

@jcollins1983 jcollins1983 left a comment

Choose a reason for hiding this comment

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

This one seems to duplicate content from PR #252, did you branch from that branch for this one?
At first I thought vtime was a horrible name for a function but it looks like you're just mirroring the VISA function name anyway, so I guess it makes sense.
Putting the break in paradigm aside, I think the change look reasonable.

self.xmax = MeasureAllSources()
self.xmin = MeasureAllSources()

def vtime(self, time: float, channel: int):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This breaks the methodology used in definin all the other functions, but it's easier to understand since you don't have to go to a million other places to see what's going on, so I'm not opposed to the break in paradigm.
I'm assuming that implementing this is what led you to make the changes in #255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants