v1.1.0
v1.1.0 (2023-09-21)
Build
-
build: update PSR config (
8659604
) -
build: update versioning to use [email protected] (
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
-
feat(sbcs):
_two_sided
versions of allsbcs.
(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
_mask
s
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.
- 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)
- refactor(waves): pass intensities through
-
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
-
refactor(rings): use
place_targets()
inrings_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
- refactor(export): guard clauses, pathlib (
e59fc51
)
Style
Test
- test: update ground truth
single pixel changes in RHS2007_WE_radial_* (f4e4d48
)
- test(modelfest): update
Disk40()
and its groundtruth
Slightly decrease radius. This is actually results in an image that is exactly identical as the original published disk40.tif
image (unlike previous ground truth, which was 4pix off) (30c9738
)
-
test(modelfest): isolate code to test correspondence to original images (
4c44c88
) -
test: extract function for image comparison (
813e3a2
) -
test: fix gen_ground_truth (
5ad8cb3
)
Unknown
- Merge pull request #114 from computational-psychology/build_psr
Build: update python-semantic-release configuration (e281e9a
)
- Merge pull request #108 from computational-psychology/dev
New features, refactoring, and fixes (3788170
)
- Merge pull request #107 from computational-psychology/feat_sbcs_circular
Add more sbcs.
.
sbcs.square()
and sbcs.circular()
, parameterized using target_radius
and surround_radius
, based on bullseyes.square()
and .circular()
.
Adds some _two_sided()
versions as well, which are now used in some papers
.
Also enable rotation
arg in sbcs.generalized()
. (d1510e9
)
-
docs(demos):
sbcs.circular
,.square
demos (81b5528
) -
Merge pull request #106 from computational-psychology/refactor_two_sided
Easier _two_sided
-stimuli functions (7ba0bee
)
-
Merge branch 'dev' into refactor_two_sided (
db94838
) -
Merge pull request #103 from computational-psychology/refactor_intensities
Unify intensity_
arguments (4ff38d5
)
- Merge pull request #104 from computational-psychology/test_modelfest
Refactor ModelFest comparison to original images (4218dc3
)
- Merge pull request #101 from computational-psychology/refactor_targets
Refactor target placement in various stimuli.
Add mask_targets()
and place_targets()
general-purpose functions which can be used to designate target "elements" (bars, rings, frames, etc.) from an existing _mask
.
Integrate new functions into waves
, pinwheels
, rings
and whites
Add rings.circular_generalized()
and bullseye.circular_generalized()
using new functions
This single-implementation of target placement has the advantage that it all works the same: first element is 1, target_indices can be negative (counting "backwards" from the last bar/ring/etc.). (885ec6c
)
- Merge pull request #100 from computational-psychology/build_refresh
build: update versioning to use [email protected] (16a3496
)
- Merge pull request #96 from computational-psychology/fix_twosided_params
fix: two-sided params for _two_sided
-stimuli (1188af5
)
- Merge pull request #95 from computational-psychology/feat_text
feat: text (e0effc0
)
- Merge pull request #94 from computational-psychology/fix_RHS2007_TodorovicBenary
fix(RHS2007): correct targets in todorovic_benary_1_2()
, 3_4()
(00af7d2
)
-
Rings & Bullseyes (
23fc041
) -
Mueller-Lyer (
6b01cce
) -
DelBoueufs (
587aed5
) -
Update tests (
fbd1dc4
) -
Merge pull request #91 from computational-psychology/dev_citation
docs: added citation to readme and docs (316ded8
)
- Merge pull request #89 from computational-psychology/dev_manuscript
docs: final touchup on manuscript (ca8bf43
)
- Merge pull request #88 from computational-psychology/dev_manuscript
docs: final touch-up on manuscript (f756c54
)
- Merge pull request #87 from computational-psychology/dev_manuscript
Final editorial (& title) changes to manuscript (b4bb148
)