Skip to content

Commit

Permalink
Clean up function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-luke committed Sep 1, 2016
1 parent c0f5d98 commit 39af205
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/plotting/plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@
#
#######################################

function plot_spectrum(signal::Vector,
fs::Real;
titletext::AbstractString="",
Fmin::Int=0,
Fmax::Int=90,
targetFreq::Float64=0.0,
dBPlot::Bool=true,
noise_level::Number=0,
signal_level::Number=0)
function plot_spectrum{S <: AbstractString, F <: AbstractFloat}(signal::Vector, fs::Real;
titletext::S="", Fmin::Number=0, Fmax::Number=90, targetFreq::F=0.0, dBPlot::Bool=true,
noise_level::Number=0, signal_level::Number=0)

# Determine fft frequencies
signal_length = length(signal)
Expand Down

0 comments on commit 39af205

Please sign in to comment.