Skip to content

feat(stimuli): add input validation to stimulus classes#17

Open
outofculture wants to merge 1 commit intoAllenInstitute:masterfrom
outofculture:type-stimming
Open

feat(stimuli): add input validation to stimulus classes#17
outofculture wants to merge 1 commit intoAllenInstitute:masterfrom
outofculture:type-stimming

Conversation

@outofculture
Copy link
Copy Markdown
Collaborator

Add ValueError/TypeError guards for invalid constructor arguments and Nyquist-frequency checks in Sine and Chirp eval methods. Replace bare assert in SquarePulseSeries with a descriptive ValueError.

Add ValueError/TypeError guards for invalid constructor arguments and
Nyquist-frequency checks in Sine and Chirp eval methods. Replace bare
assert in SquarePulseSeries with a descriptive ValueError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant