We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Create a Cornsweet edge where edge values are exactly as defined in input parameter "intensity_edges"
from stimupy.stimuli.cornsweets import cornsweet_edge e = cornsweet_edge(5, 100, ramp_width=0.5)["img"] print(e.max(), e.min()) # should be [1, 0]
The minimum and maximum of the stimulus image should exactly be as defined in intensity_edges, which is [1, 0]
The minimum and maximum of the stimulus image are not [1, 0]
The text was updated successfully, but these errors were encountered:
fix: cornsweet edge intensity is now exactly as in intensity_edges; c…
cc701a3
…lose #122
Successfully merging a pull request may close this issue.
Context
Create a Cornsweet edge where edge values are exactly as defined in input parameter "intensity_edges"
Minimal Reproducible Example
from stimupy.stimuli.cornsweets import cornsweet_edge
e = cornsweet_edge(5, 100, ramp_width=0.5)["img"]
print(e.max(), e.min()) # should be [1, 0]
Expected behavior
The minimum and maximum of the stimulus image should exactly be as defined in intensity_edges, which is [1, 0]
Observed behavior
The minimum and maximum of the stimulus image are not [1, 0]
The text was updated successfully, but these errors were encountered: