Skip to content

oramics/unwrap-phases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unwrap-phases

Unwrap phase data

npm install unwrap-phases

var unwrap = require('unwrap-phases')
unwrap(phases) // in-place unwrapping for maximum efficiency

Usage

unwrap(input, [output = input]) ⇒ Array

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 = require('unwrap-phases')
// given a phase data of a spectrum...
unwrap(phases) // in-place unwrapping
const unwrapped = unwrap(phases, true) // new output array

License

MIT License

About

Phase unwrapping for phase data arrays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published