unwrap: Correct the radian phase angles

View source: R/insolation.R

unwrapR Documentation

Correct the radian phase angles

Description

Correct the radian phase angles

Usage

unwrap(p)

Arguments

p

radian phase angles array

Details

Q = unwrap(P) corrects the radian phase angles in array P by adding multiples of +- 2π when absolute jumps between consecutive array elements are greater than pi radians. based on http://ccrma.stanford.edu/~jos/sasp/Matlab_listing_unwrap_m.html

Value

unwrapped angles

Author(s)

Thomas Laepple


EarthSystemDiagnostics/orbitalforcing documentation built on March 24, 2022, 11:25 a.m.