Skip to content

Commit

Permalink
maybe fix the interonset problem?
Browse files Browse the repository at this point in the history
  • Loading branch information
behinger committed Sep 20, 2024
1 parent 26ad7fb commit 8ea515b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/onset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ In the case that a TRF is simulated (via `TRFComponent`). This onset returns a v
"""
struct TRFOnset <: AbstractOnset end

function simulate_interonset_distances(rng,onset::TRFOnset,design)
sz = size(design)
return Int.(zeros(sz))
end




"""
Expand All @@ -74,6 +68,16 @@ function simulate_interonset_distances(rng, onset::LogNormalOnset, design::Abstr
end


"""
simulate_interonset_distances(rng, onset::UniformOnset, design::AbstractDesign)
In the case that a TRF is simulated (via `TRFComponent`). This onset returns a vector of zero-latencies, indicating that the TRF starts at the beginning of the signal.
"""
function simulate_interonset_distances(rng,onset::TRFOnset,design)
sz = size(design)
return Int.(zeros(sz))
end


#function simulate_interonset_distances(rng, onset::AbstractOnset,design::)


Expand Down

0 comments on commit 8ea515b

Please sign in to comment.