Skip to content

Commit

Permalink
fix: aligned functions args and keys in output dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnSchmittwilken committed May 15, 2023
1 parent 97238d1 commit a3941e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stimupy/stimuli/checkerboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ def checkerboard(
"period": period,
"rotation": rotation,
"intensity_checks": intensity_checks,
"target_indices": target_indices,
"extend_targets": extend_targets,
"round_phase_width": round_phase_width,
}

# Add targets
Expand Down Expand Up @@ -414,6 +417,10 @@ def contrast_contrast(

stim["img"] = img
stim["target_mask"] = mask.astype(int)
stim["target_shape"] = target_shape
stim["alpha"] = alpha
stim["tau"] = tau
stim["round_phase_width"] = round_phase_width
return stim


Expand Down

0 comments on commit a3941e7

Please sign in to comment.