Skip to content

Releases: computational-psychology/stimupy

v1.1.2

23 Apr 12:46
Compare
Choose a tag to compare

v1.1.2 (2024-04-23)

Chore

  • chore: misspellings CHANGELOG

fix current misspellings, but ignore changelog going forward since it is autogenerated from commit messages (95cf322)

Fix

  • fix: cornsweet edge intensity is now exactly as in intensity_edges; close #122 (cc701a3)

Unknown

  • Merge pull request #123 from computational-psychology/bugfix_cornsweet_edge

fix: cornsweet edge intensity is now exactly as in intensity_edges (9e8bbbb)

  • Merge pull request #125 from computational-psychology/chore

chore: linting (a93fff7)

v1.1.1

09 Feb 19:04
Compare
Choose a tag to compare

v1.1.1 (2024-02-09)

Build

  • build: configure codespell to fix misspellings

Requires python^3.11.0 to use pyproject.toml

Exclude everything in docs/_build,
and the exact lines in .codespell.ignore

Also add to pre-commit checks (37bac3d)

  • build: only trigger publishing workflow once per release (44a303b)

Documentation

  • docs(periodics): fix Gabor argument intensities (533e1e2)

  • docs(tutorial): fix references to two_sided (19f59a9)

Fix

  • fix(checkerboards): define multiple target intensities

Previously, checkerboards could only draw a single target intensity, even if multiple targets are specified. For some stimuli however, I want to have two target checks, each with a different intensity value.

Use components.draw_regions to do the actual target drawing. Ensures consistency with other stimuli with targets. (ab525b3)

  • fix(checkerboards): define multiple target intensities

Use components.draw_regions to do the actual target drawing. Ensures consistency with other stimuli with targets (442bd29)

  • fix(RHS2007): WE_dual separate mask for each target

Previously, the targets in black were lumped together, as were the targets in white. Now, each target, in each of the two stimuli, has its own mask idx (0b78372)

  • fix(whites): enable specifying either 1, or multiple target indices

Some configuration was causing errors (ba552b9)

  • fix(text): remove text direction argument

Pillow is complaining about libraqm not being installed. Previously, it was not complaining about this. This problem seems to be limited to asking for a writing direction -- without that, Pillow no longer complains (6cceca6)

Style

  • style: use codespell to fix misspellings (de8efb4)

Test

  • test(RHS2007): regen ground truth

Only mask of WE_dual changed (6c76f2e)

Unknown

  • Merge pull request #121 from computational-psychology/dev

Bugfixes (da97ecf)

  • Merge branch 'main' into dev (1d4371a)

  • Merge pull request #120 from computational-psychology/build

Update build-system (d56e528)

  • Merge pull request #118 from computational-psychology/fix/whites_targets

fix(whites): enable specifying either 1, or multiple target indices (8ec7d6e)

  • Merge pull request #117 from computational-psychology/fix/RHS2007

Fix(RHS2007): Individually mask each target in WE_Dual (3cba67d)

  • Merge pull request #119 from computational-psychology/fix/text

fix(text): remove text direction argument (759f8e8)

v1.1.0

21 Sep 17:34
Compare
Choose a tag to compare

v1.1.0 (2023-09-21)

Build

  • build: update PSR config (8659604)

  • build: update versioning to use python-semantic-release@v8.0 (e0cd11e)

  • build(manuscript): allow manual trigger (b46fdf8)

Chore

  • chore: autoformat (106dee7)

  • chore: autoformat (95ccba7)

  • chore(autoformat): update pre-commit config (47c408c)

  • chore: (auto)format (dea6b57)

Documentation

  • docs(demos): sbcs.generalized_two_sided() demo (7318280)

  • docs(demos): sbcs.square_two_sided, .circular_two_sided demos (e781cfb)

  • docs(sbcs): unify docstrings (60d3c80)

  • docs(frames): docstrings (5d83551)

  • docs(radials): docstrings (fd79e0b)

  • docs(demos): update two_sided demos (c2beace)

  • docs(demos): bullseyes.circular_generalized (25669ca)

  • docs(demos): rings.circular_generalized (a19a1c4)

  • docs(demos): fix White's demo (37b70c3)

  • docs(demos): text demo (ef686f3)

  • docs(demos): add support for two-sided parameter specification (aec4043)

  • docs(citation): add to TOC (c2a9574)

  • docs(citation): reformat (e940428)

  • docs: added citation to readme and docs (6279322)

  • docs(manuscript): "use case" as two words (c3d999c)

  • docs: final touchup on manuscript (d3c04ef)

  • docs(manuscript): update references (f57ec56)

  • docs: final touch-up on manuscript (2f37a9d)

  • docs: changed manuscript title (18d95fb)

  • docs: made editorial changes to manuscript (856c8a9)

Feature

  • feat(sbcs): sbcs.generalized_two_sided() (dbfbab1)

  • feat(sbcs.gen): enable rotation in generlized SBC

Closes #39 (bfe946b)

  • feat(sbcs): _two_sided versions of all sbcs. (7bac6a1)

  • feat(sbcs): sbcs.circular, .square

Pass-through wrappers based off bullseyes.<> (0ff0213)

  • feat(two-sided): utility wrapper-function to create two-sided stimuli (624bf50)

  • feat(stimuli): bullseyes.circular_generalized (8b9ad10)

  • feat(stimuli): rings.circular_generalized (7e0cf7c)

  • feat: components.texts (88d5ffc)

Fix

  • fix(disk): mask is now properly aligned

Fix by basing disk on rings rather than on ring (911cbd6)

  • fix: rename _masks

Add a distance-specific mask (bar_, ring_, frame_, segment_). These are similarly named in the "generalized" versions of these stimuli (frames, rings, etc.).
This is just a reference to grating_mask, so that will remain consistent between all wave-like stimuli.

Closes #102 (2cc9222)

  • fix(bullseyes): update bullseye target specification

Now that indexing is 1-based. (92c9e1b)

  • fix(pad_dict): should also update ppd, visual_size, if it can (dab5bf5)

  • fix(RHS2007): correct targets in Todorovic' Benary 1_2, 3_4

Closes #90

1_2_3_4() was already correct.
Others now use that one as base (520c659)

Refactor

  • refactor(papers): use sbcs.<>_two_sided() in papers

domijan2015.simultaneous_brightness_contrast()
RHS2007.sbc_small()
RHS2007.sbc_large() (3ee13ed)

  • refactor(radials): more integrated drawing (afcdc3e)

  • refactor(gratings,papers): update intensities order (1ab048a)

  • refactor: unify intensity_ arguments

(almost) all (0.0, 1.0)

Closes #80 (a00295f)

  • refactor(waves): pass intensities through

Addresses #80 (44d7f79)

  • refactor(modelfest): more explicit conversions (be4b53d)

  • refactor(stimuli): use two-sided utility wrapper (8ac1717)

  • refactor(papers): update to use 1-based indexing of elements in Whites (e1c3101)

  • refactor(papers): update to use 1-based indexing of elements (bd90b8e)

  • refactor(whites): use mask_targets() (1e04f07)

  • refactor(waves): integrate place_targets() (daf6acd)

  • refactor: target_indices defaults to (), but can handle None

Closes #97 #98 (9e8d136)

  • refactor(rings): use place_targets() in rings_generalized() (2da1b65)

  • refactor(pinwheels): integrate mask_targets() (c748706)

  • refactor(stimuli): place_targets()

actually places targets in stimulus-dict (fff6f14)

  • refactor(stimuli): mask_targets()

to standardize logic of indicating elements of gratings etc. as targets, which is a big par of the stimuli
Also allows for negative element indices, counting backwards from the highest element index

Closes #12 ([9232891](92328911e62...

Read more

v1.0.0

23 May 16:37
Compare
Choose a tag to compare

Fix

Breaking

Documentation

  • README: Add badges (e8f54f9)
  • Update installation instructions to use PyPI (4c3c492)

v0.101.1

20 May 14:39
Compare
Choose a tag to compare

Fix

  • Added relevant error message in todorovic (0cb7f88)
  • Aligned functions args and output_dictionary keys for stimuli-gratings (fba7785)
  • Aligned function args and output_dict keys (6981318)

Documentation

  • manuscript: Add comparison to OCTA (551f80d)
  • Added missing arg-information to logo-function (73e5a27)
  • Minor fix landing page (fc8deb4)
  • Add logo (1fce581)

v0.101.0

15 May 20:41
Compare
Choose a tag to compare

Feature

  • Qr-code with logo embedded (a14648e)
  • Added stimupy logo module, and function (0b5b028)
  • export: To image, npy, mat, pickle, json (3c09c5a)
  • Util to create stimspace (1679eb5)

Fix

  • Line_width in ellipse (10b7745)
  • Added missing demo scripts for edges (4c30a3b)
  • Corrected n_cells in dungeon-resolving (cd0fc0c)
  • Aligned functions args and keys in outputs dicts (107edb4)
  • Aligned functions args and keys in output dicts (a3941e7)
  • Aligned function-args and keys in output dicts (8ab889a)
  • Radial and rectilinear waves now correctly resolve n_phases (ecce0b9)
  • mondrians: Clearer error when neither nrows, ncols, depths or intensities are specified (f9a5a4d)
  • Bug in calculating plot-extent from stim-keys (240a34a)

Documentation

  • Add logo to README (4dfabb0)
  • Typos (ce4683d)
  • Fixed incorrect link in README (c2e6575)
  • Updated documentation - mostly language (d8f4211)
  • guide: Axes, orientations, distance_metrics (7bc02ec)
  • guides: Waves & gratings (4d5b507)
  • howto: Sharing (4c950d2)
  • contribute: Instructions and examples for contributing paper set (17ff040)
  • contribute: Split up contributing guide into subfiles (2cc2cb0)
  • howto: Display stimuli (in experiment) (a733b07)
  • howto: Export (e647773)
  • howtos: Start how-tos (8cd970a)
  • guides: Resolution (ace6493)
  • Hover_xref configuration for objects (c28b7be)
  • demos: Better exception-handling, hiding stacktrace (ae98e04)
  • demos: Make dependencies explicit (c3b0a0e)
  • readme: Fix some typos (6983f90)

v0.100.0

10 Apr 13:28
Compare
Choose a tag to compare

Feature

  • rectilinear: Add rotation to rectilinear stimuli (0670d6b)

Documentation

  • Outline dependencies for demos in installation instructions (f6a3d98)
  • topic guides: Hide guides that are under construction (8a1146f)
  • Cleanup installation instructions (3d49f53)
  • Update references in replication tutorial (2325ce3)
  • tutorial: More structured overview of stimuli (722a977)
  • Better referencing, using hoverxref (5a41f0f)
  • tutorial: More detail on composition, masks (9be4db0)
  • tutorial: Clean up imports (11053b3)
  • tutorial: Fix a reference (506274e)
  • topics: Add page on how stimupy is organized (0cd3934)
  • tutorial: Move tutorial to separate TOC entry (cd3af04)
  • tutorial: More verbose tutorial component (31c4ae6)
  • tutorial: Move composition to separate tutorial page (939082a)
  • landing page: Use description from README, more detailed cards (530dbc0)
  • README streamlined, in line with manuscript (ad8445d)
  • Detail on dev installation instructions (506ebf6)
  • More detailed contributing instructions (97dfa31)
  • Get in touch (in addition to contribute) (c42cccc)
  • rectilinear: Demo rotation of rectilinear stimuli (2bd7b98)
  • Consistent docstrings & defaults for rotation arguments (b441a34)
  • Docstring for combine_masks (c1aa531)
  • Docstring for draw_regions (2d2cad2)
  • Docstring for mask_regions (725eaf0)