
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
phase-unwrap
Advanced tools
1D phase unwrapping
var ndarray = require("ndarray")
var unwrap = require("phase-unwrap")
var plot = require("plotter").plot
//Create a signal
var x = ndarray.zeros([100])
require("ndarray-fill")(x, function(i) {
return (0.25 * i) % (2.0 * Math.PI)
})
//Plot input signal
plot({
data: Array.prototype.slice.call(x.data),
filename: "input.svg"
})
//Unwrap
unwrap(x)
//Plot unwrapped signal
plot({
data: Array.prototype.slice.call(x.data),
filename: "unwrapped.svg"
})
And here are the results:
npm install phase-unwrap
require("phase-unwrap")(signal)Unwraps the phase angle of a signal whose values are between 0 and 2pi to a continuous signal.
signal is a 1D ndarray of valuesReturns An signal. Note that the unwrapping modifies signal.
(c) 2013 Mikola Lysenko. MIT License
FAQs
Phase unwrapping for ndarrays
The npm package phase-unwrap receives a total of 5 weekly downloads. As such, phase-unwrap popularity was classified as not popular.
We found that phase-unwrap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.