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

add Zap and DelayedZap stimuli, and sinespec factory fct #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AurelienJaquier
Copy link
Collaborator

with tests :)

@AurelienJaquier AurelienJaquier self-assigned this Jan 14, 2025
@AurelienJaquier
Copy link
Collaborator Author

I had to restrain the version of pydantics when building docs because sphinx breaks for the latest version. We might be able to get back to latest pydantic version once this issue on sphinx-autodocs-typehints is solved: tox-dev/sphinx-autodoc-typehints#479

Copy link
Collaborator

@darshanmandge darshanmandge left a comment

Choose a reason for hiding this comment

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

Thanks!
Will this lead to the a new release in pypi? Do we have everything correctly set-up?
Should we mention in BlueBrain repository of bluecellulab that the future development has moved to this repository? I think we all should discuss before merging this

post_delay: float,
amplitude: float,
) -> CombinedStimulus:
"""Create a DelayedYap stimulus from given time events and amplitude.
Copy link
Collaborator

Choose a reason for hiding this comment

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

DelayedZap instead of DelayedYap :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. Fixed in latest commit

@@ -561,3 +643,47 @@ def neg_cheops(
+ Empty(self.dt, duration=post_delay)
)
return result

def sinespec(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I hope all the parameters and formulae in sinespec are the same as those that we have in bluepyemodel ecode of the sinespec

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, thanks to the power of copy/pasting!

Copy link
Collaborator

@ilkilic ilkilic left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks for the tests ;)

@AurelienJaquier
Copy link
Collaborator Author

@darshanmandge that is the joy of not being admin, I don't know if we have the PyPi registered or not, and I can't set them myself. @heerener could you set the CODECOV_TOKEN and the PYPI_PASSWORD in this repo's secrets, pretty please?

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.

3 participants