unwrap-phases
Unwrap phase data
var unwrap = // in-place unwrapping for maximum efficiency
Usage
Array
unwrap(input, [output = input]) ⇒ Returns: Array
- the unrapped phase data
Param | Type | Description |
---|---|---|
input | Array |
phase data |
output | Array |
(Optional) the output array to store the unrapped phase data. If not provided, an in-place modification is performed. If true is passed as an argument, a new array is created. |
Example
const unwrap = // given a phase data of a spectrum... // in-place unwrappingconst unwrapped = // new output array
License
MIT License