Skip to content

Missing conditional check for Duration #398

@conveyanand

Description

@conveyanand

Describe the bug
Missing conditional check for Duration

To Reproduce
make_sinc_pulse.py#107
if duration <= 0:
raise ValueError('RF pulse duration must be positive.')

The above validation is not available in other similar files.

Expected behavior
Consistent validation across the files

Screenshots

Image

Desktop (please complete the following information):
Not Applicable

Additional context
Please check screenshot for affected files and perform a thorough search for any other instances.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions