Skip to content

Conversation

@behinger
Copy link
Member

  • FormulaOnsets
  • initial sequence tryout
  • fix bug in predef_eeg
  • fix \beta missing
  • forgot the end
  • half way through to success for sequence designs or something
  • everythinig except sequencelength seems to be working now
  • added string sequence tests
  • small doc update
  • added jitter to the '_' trial divisor
  • generalized LinearModelComponent to arbitrary functions instead of vectors
  • bugfix with endless loop due to multiple dispatch
  • function component for multi-subject
  • forgot to define offset in LinearModelFunction
  • Improve documentation especially quickstart, home and power analysis
  • adapted the order of reference overviews and adapted titles
  • Updated quickstart page
  • minor changes
  • fixed docstrings for predef_eeg and predef_2x2
  • added draft of design types reference page
  • Update quickstart.jl
  • Add UnfoldSim logo to the documentation
  • Finished experimental design reference page
  • Replace logo file
  • Update logo file
  • Delete docs/src/assets/logo.svg
  • Add logo as png file
  • Added intro paragraph for Simulate ERP tutorial
  • Improved docstrings for single- and multi-subject design
  • Fixed simulate docstring
  • Added cross references in docstrings
  • Added intro sentences, matched titles and sidebar, reordered pages and added collapsible setup blocks
  • Update noise.jl
  • Update src/noise.jl
  • Update src/noise.jl
  • Update src/noise.jl
  • add empty line for formatting reasons
  • Update docs/literate/reference/noisetypes.jl
  • Update docs/literate/reference/overview.jl
  • Update docs/literate/reference/overview.jl
  • Update docs/literate/reference/noisetypes.jl
  • added docstring
  • renamed to have the formula at the end
  • merge fix, double definition of function
  • component function test + docstring
  • better docs
  • added unittests
  • fixed small wording
  • fix tutorial with v0.3 renaming of simulate to simulate_component
  • fix newComponent tutorial
  • fix sequence design rng
  • fix sequence test
  • fix rng docs
  • fix Change Simulation struct field "components" from Type Dict to NamedTuple Type. #124, explicitly cast the dict
  • not sure where this error came in...
  • hanning upgrade
  • checking stuff

@behinger behinger changed the base branch from main to v4.0 December 17, 2024 09:38
@behinger behinger changed the base branch from v4.0 to trf December 17, 2024 09:38
@behinger behinger changed the base branch from trf to v4.0 December 17, 2024 09:38
@behinger behinger changed the base branch from v4.0 to fix#124 December 17, 2024 09:39
Copy link
Collaborator

@jschepers jschepers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think once we discuss the points I raised, this PR is good to go! Thanks @behinger!

function DSP.hanning(duration, offset, sfreq)
signal = hanning(Int(round(duration * sfreq)))
return pad_array(signal, -Int(round(offset * sfreq / 2)), 0)
function DSP.hanning(width, offset, sfreq)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wondered whether we should allow that width can be 0, because then the DSP.hanning function returns an empty vector, which is then zero-padded by the UnfoldSim hanning function.
However, there may be a case that I'm not thinking of right now where this could be desirable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah sorry, missed that one. If it doesnt error, it seems fine for me; maybe you want to parametrically change from 0:10 the width and assume 0 is no signal?

Co-authored-by: Judith Schepers <judith.schepers@vis.uni-stuttgart.de>
jschepers and others added 7 commits October 13, 2025 16:43
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed to fix the test (since after including them, they failed) for the new implementation with (signal+1)/2.
Now everything should work and I'll merge once CI run through.

@jschepers jschepers merged commit 5b3cfc4 into fix#124 Oct 14, 2025
4 checks passed
@jschepers jschepers deleted the hanningfix branch October 14, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change Simulation struct field "components" from Type Dict to NamedTuple Type.

3 participants