[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unwrapping routine
- Subject: Re: Unwrapping routine
- From: "R.G.S." <dejastockwell(at)my-dejanews.com>
- Date: Fri, 31 Mar 2000 10:01:41 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: RMI.NET
- References: <8c22jg$juk$1@popeye.eur.nl>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19094
Here is a simple phase unwrapping code. (attached)
No attempt is made to fix noisy phase.
A 1D and 2D version is included.
Cheers,
bob
<mvogel@hppcunfmudet.foo.bar> wrote in message
news:8c22jg$juk$1@popeye.eur.nl...
> Dear reader,
>
> I wonder whether there is any 'unwrapping' routine available in IDL 5.3
> The unwrapping routine is thought to correct transitions (e.g Pi) with an
> extendend dynamic range and unwrapping the transition to a value in this
new
> range.
>
> Thank you for your interest,
>
> regards,
>
> Vogel
begin 666 phase_unroll.pro
M.R!U;G)O;&QS('!H87-E(&9U;F-T:6]N(&%M9"!R971U<FYS(&ET#0H[(&-H
M96-K<R!F;W(@8V]M<&QE>"!A;F0@871A;G,@:70-"@T*.R!C;W!Y<FEG:'0@
M4BY'+B!3=&]C:W=E;&P@2&%C:W=A<F4-"@T*#0IF=6YC=&EO;B!P:&%S95]U
M;G)O;&PL=&5M< T*#0IP(#T@=&5M< T*#0II;F9O(#T@<VEZ92AP*0T*:68@
M:6YF;RAI;F9O*# I*S$I(&5Q(#8@=&AE;B!B96=I;@T*"0EP<FEN="PG8V]M
M<&QE>"!D871A+"!C86QC=6QA=&EN9R!A<F=U;65N="<-"@D)<" ](&%T86XH
M:6UA9VEN87)Y*' I+&9L;V%T*' I*0T*96YD:68-"@T*:68@:6YF;R@P*2!E
M<2 R('1H96X@8F5G:6X-"@D[<')I;G0L("=T=V\@9&EM96YS:6]N86P@87)R
M87DG#0H):68@:6YF;R@Q*2!E<2 Q('1H96X@8F5G:6X-"@D).W!R:6YT+'-T
M<F-O;7!R97-S*"=!("<K<W1R:6YG*&EN9F\H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