Skip to content

Commit

Permalink
remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MasonProtter committed Jan 17, 2025
1 parent 1786741 commit a471227
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions src/GraphDynamicsInterop/neuron_interop.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function recursive_getdefault(x::Union{MTK.Num, MTK.BasicSymbolic})
substitute(def_x, defs)
end


function define_neurons()
for (name, T) [(:hhne, HHNeuronExciBlox)
(:hhni, HHNeuronInhibBlox)
Expand Down Expand Up @@ -177,40 +176,6 @@ GraphDynamics.initialize_input(s::Subsystem{PoissonSpikeTrain}) = (;)
GraphDynamics.apply_subsystem_differential!(_, ::Subsystem{PoissonSpikeTrain}, _, _) = nothing
GraphDynamics.subsystem_differential_requires_inputs(::Type{PoissonSpikeTrain}) = false


# #-------------------------
# # Kuramoto
# issupported(::KuramotoOscillator) = true
# function to_subsystem(o::KuramotoOscillator)
# states = SubsystemStates{KuramotoOscillator}((;θ=0.0,))
# params = SubsystemParams{KuramotoOscillator}((;ω=getdefault(o.system.ω)))
# Subsystem(states, params)
# end

# GraphDynamics.initialize_input(s::Subsystem{KuramotoOscillator}) = (;jcn = 0.0)
# function GraphDynamics.subsystem_differential(s::Subsystem{KuramotoOscillator}, (; jcn), t)
# SubsystemStates{KuramotoOscillator}((; #=D=#θ= s.ω + jcn))
# end


# issupported(::KuramotoOscillatorNoise) = true
# function to_subsystem(o::KuramotoOscillatorNoise)
# states = SubsystemStates{KuramotoOscillatorNoise}((;θ=0.0,))
# params = SubsystemParams{KuramotoOscillatorNoise}((;ω=getdefault(o.system.ω), ζ=getdefault(o.system.ζ)))
# Subsystem(states, params)
# end

# GraphDynamics.initialize_input(s::Subsystem{KuramotoOscillatorNoise}) = (;jcn=0.0)
# function GraphDynamics.subsystem_differential(s::Subsystem{KuramotoOscillatorNoise}, (;jcn), t)
# SubsystemStates{KuramotoOscillatorNoise}((; #=D=#θ= s.ω + jcn))
# end
# GraphDynamics.isstochastic(::Type{KuramotoOscillatorNoise}) = true
# function GraphDynamics.apply_subsystem_noise!(vstates, (;ζ,)::Subsystem{KuramotoOscillatorNoise}, t)
# vstates[1] = ζ
# nothing
# end


#-------------------------
# Matrisome
issupported(::Matrisome) = true
Expand Down

0 comments on commit a471227

Please sign in to comment.