Skip to content

Commit 254b528

Browse files
committed
update pages
1 parent 0649b7a commit 254b528

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+202
-137
lines changed
2.88 KB
Binary file not shown.

docs/_build/doctrees/index.doctree

-2.41 KB
Binary file not shown.
431 Bytes
Binary file not shown.
2.51 KB
Binary file not shown.

docs/_build/html/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 6504529fc22095a1821ce59b9c36fde9
3+
config: 4cd82dbd7b3420fc9226beea123ec288
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_build/html/_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
<input type="hidden" name="check_keywords" value="yes">
202202
<input type="hidden" name="area" value="default">
203203
</form>
204-
<div id="searchbox"></div><div class="sidebar-cta entries-box">
204+
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-cta entries-box">
205205
<ul style="list-style: none; padding-left: 0;">
206206
<li><a href="https://taskbeacon.github.io/">Taskbeacon Home</a></li>
207207
</ul>
@@ -237,7 +237,7 @@
237237
<li class="toctree-l1"><a class="reference internal" href="../py-modindex.html">Module Index</a></li>
238238
</ul>
239239

240-
</div>
240+
</div></div>
241241
</div>
242242

243243
</div>

docs/_build/html/_sources/index.rst.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Features
1919

2020
Start with one of the tutorials below or explore the API reference.
2121

22-
Tutorials
23-
---------
2422
.. toctree::
2523
:maxdepth: 1
2624
:caption: Tutorials
@@ -36,8 +34,8 @@ Tutorials
3634
tutorials/utilities
3735
tutorials/llm_client
3836

39-
中文教程(Chinese Tutorials)
40-
---------
37+
38+
4139
.. toctree::
4240
:maxdepth: 1
4341
:caption: 中文教程(Chinese Tutorials)
@@ -52,8 +50,7 @@ Tutorials
5250
tutorials/cli_usage_cn
5351
tutorials/llm_client_cn
5452

55-
Indices and tables
56-
---------
53+
5754
.. toctree::
5855
:maxdepth: 1
5956
:caption: Indices and tables

docs/_build/html/_sources/tutorials/build_stimulus.md.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ stim_bank = StimBank(win, config=stim_config)
8585
| movie | MovieStim | Video playback |
8686
| sound | Sound | Audio playback using PsychoPy Sound |
8787

88-
```{Note}
88+
```{note}
8989
A good place to learn about stimulus parameters is the PsychoPy Visual API page (https://www.psychopy.org/api/visual/). We will add support for additional stimulus types as we encounter them during the development of new tasks.
9090
```
9191

@@ -232,7 +232,7 @@ stim_bank.preview_all() # display or play every registered st
232232
stim_bank.preview_selected(["fixation"]) # only the specified stimuli
233233
stim_bank.preview_group("feedback_") # all stimuli with the "feedback_" prefix
234234
```
235-
```{Tip}
235+
```{tip}
236236
Use previews to catch layout or styling issues early, rather than during live trials.
237237
```
238238

docs/_build/html/_sources/tutorials/build_stimunit.md.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ cue.to_dict(trial_data)
430430
- `highlight_stim` maps each key to a visual cue (e.g., a frame or dot).
431431
- If `dynamic_highlight=True`, each new key press updates the highlight until the window ends.
432432

433-
```{Tip}
433+
```{tip}
434434
You can also pass a `dict` to `response_trigger` to send different trigger codes per key.
435435
```
436436

@@ -608,7 +608,7 @@ make_unit('resp_chain', win, kb) \
608608
.on_end(lambda u: u.log_unit()) \
609609
.run()
610610
```
611-
```{Warning}
611+
```{warning}
612612
In most cases, using `.show()`, `.capture_response()`, and `.wait_and_continue()` covers the vast majority of task requirements and has been extensively tested. Lifecycle hooks offer maximum flexibility, but they are less commonly used and have seen less practical validation. We did not test their usage extensively. Only opt for manual hooks when you need custom behavior beyond the built-in methods—and proceed with caution.
613613
```
614614

@@ -680,7 +680,7 @@ fb.set_state(prefix='special', hit=True)
680680
| Custom | 'special' | special\_hit |
681681

682682

683-
```{Tip}
683+
```{tip}
684684
`set_state` is **Chaining**: it returns the same `StimUnit`, so you can chain calls:`unit.set_state(block=2, trial=5).set_state(condition='win')`
685685
```
686686

@@ -709,7 +709,7 @@ Several `StimUnit` methods populate internal state without explicit `set_state()
709709

710710
Use this table to quickly see what state values are filled in automatically, so you know which additional `set_state()` calls you might still need.
711711

712-
```{Note}
712+
```{note}
713713
For `capture_response()`, the `hit` means the response was a correct key press.
714714
```
715715

docs/_build/html/_sources/tutorials/build_stimunit_cn.md.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ cue.to_dict(trial_data)
415415
- `highlight_stim` 将每个按键映射到一个视觉提示(例如,一个框或一个点)。
416416
- 如果 `dynamic_highlight=True`,每次新的按键都会更新高亮,直到窗口结束。
417417

418-
```{Tip}
418+
```{tip}
419419
您还可以将一个 `dict` 传递给 `response_trigger`,以便为每个按键发送不同的触发码。
420420
```
421421

@@ -593,7 +593,7 @@ make_unit('resp_chain', win, kb) \
593593
.on_end(lambda u: u.log_unit()) \
594594
.run()
595595
```
596-
```{Warning}
596+
```{warning}
597597
在大多数情况下,使用 `.show()`、`.capture_response()` 和 `.wait_and_continue()` 涵盖了绝大多数任务需求,并经过了广泛测试。生命周期钩子提供了最大的灵活性,但它们不太常用,并且实际验证较少。我们没有广泛测试它们的用法。只有当您需要超出内置方法的自定义行为时才选择手动钩子——并谨慎行事。
598598
```
599599

@@ -663,7 +663,7 @@ fb.set_state(prefix='special', hit=True)
663663
| 原始 | '' | hit, delta |
664664
| 自定义 | 'special' | special_hit |
665665

666-
```{Tip}
666+
```{tip}
667667
`set_state` 是 **可链式调用的**:它返回同一个 `StimUnit`,所以您可以链式调用:`unit.set_state(block=2, trial=5).set_state(condition='win')`
668668
```
669669

@@ -690,7 +690,7 @@ fb.set_state(prefix='special', hit=True)
690690

691691
使用此表可以快速查看哪些状态值是自动填充的,这样您就知道可能还需要哪些额外的 `set_state()` 调用。
692692

693-
```{Note}
693+
```{note}
694694
对于 `capture_response()`,`hit` 表示反应是正确的按键。
695695
```
696696

0 commit comments

Comments
 (0)