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

Not blocking the creation and addition of pulses with zero duration #274

Open
HGSilveri opened this issue Oct 11, 2021 · 0 comments
Open
Labels
archive Smthg to keep in mind, but not worth implementing now

Comments

@HGSilveri
Copy link
Collaborator

When doing a sweep over the duration of a pulse, users often want to start with a duration of 0. This is currently blocked at the moment the waveform is created (and meaningfully so, as it is undefined in many cases what exactly a waveform with zero duration is).

Ideally, we would not allow the creation of waveforms with zero duration under normal circumstances, but could potentially allow it in the creation of a parametrized sequence. Then, when it were to be added to the sequence, it would raise an warning saying that a pulse of 0 duration doesn't mean anything and just skip it.

I have many reserves about this, as in the end it ends up resulting in a lot of changes and exceptional cases just for convenience in one particular scenario. Nonetheless, I see the value in it, so I think it's worth considering.

@HGSilveri HGSilveri added the archive Smthg to keep in mind, but not worth implementing now label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archive Smthg to keep in mind, but not worth implementing now
Projects
None yet
Development

No branches or pull requests

1 participant