Skip to content

Instantly share code, notes, and snippets.

@ssfrr
ssfrr / unwrap.jl
Created December 16, 2013 21:46
Julia implementation of a phase unwrap function
function unwrap(v, inplace=false)
# currently assuming an array
unwrapped = inplace ? v : copy(v)
for i in 2:length(v)
while unwrapped[i] - unwrapped[i-1] >= pi
unwrapped[i] -= 2pi
end
while unwrapped[i] - unwrapped[i-1] <= -pi
unwrapped[i] += 2pi
end
@max-mapper
max-mapper / bibtex.png
Last active November 6, 2024 09:03
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
"Levenshtein" => :ok
"ReadStat" => :skipped
"Discretizers" => :fail
"SchumakerSpline" => :fail
"GaussQuadrature" => :fail
"SyntaxTree" => :ok
"Peaks" => :ok
"FredData" => :skipped
"RecurrenceAnalysis" => :ok
"MKLSparse" => :fail