PHASEFILT(1)
π phasefilt π β PHASEFILT(1)
okay bestie, welcome to the manual page for phasefilt. It's a user command, it's giving GMTSAR, and it's literally called phasefilt. Let's get into it. β¨
πΈ NAME πΈ
phasefilt β phasefilt
That's it. That's the name. Iconic.
π¦ DESCRIPTION π¦
This program is part of GMTSAR.
phasefilt [GMTSAR] - Apply adaptive non-linear phase filter
π USAGE:
phasefilt -imag imag.grd -real real.grd [-alpha alpha][-psize size][-amp1 amp1.grd -amp2 amp2.grd][-diff][-v]
It applies Goldstein adaptive filter to phase β output: filtphase.grd β or it applies modified Goldstein adaptive filter to phase β outputs: filtphase.grd, corrfilt.grd.
Now the flags, bestie. Do not skip these, they are the whole plot. π
-imag[required]β GMT format file of imaginary component. Yes, required, required required. π¦-real[required]β GMT format file of real component. Also required. The duality of man. π-alphaβ exponent for filter. Usually between0.0and1.5(0.0should not filter).- default:
0.5 [Goldstein filter](anything above1.0may be excessive)alpha < 0will setalpha = (1 - coherence)[modified Goldstein]
- default:
-psizeβ patch size for filtering. Must be power of two.- default:
32
- default:
-amp1β GMT format file of amplitude image of image 1. Needed (and applies) modified filter.-amp2β GMT format file of amplitude image of image 2. Needed (and applies) modified filter.-diffβ Calculate difference between input phase and output phase.-complex_outβ Write out filtered real and imaginary (filtphase_real.grdandfiltphase_imag.grd)-vβ Verbose.-debugβ Debug.
Example, because we love a demo:
example: phasefilt -imag imag.grd -real real.grd -alpha 0.5
π USAGE: (yes, the page does it again, and I'm keeping every crumb)
okay so literally the same section repeats, and I am not about to erase it. Details are sacred. Here it is again, bestie:
phasefilt -imag imag.grd -real real.grd [-alpha alpha][-psize size][-amp1 amp1.grd -amp2 amp2.grd][-diff][-v]
It applies Goldstein adaptive filter to phase β output: filtphase.grd β or it applies modified Goldstein adaptive filter to phase β outputs: filtphase.grd, corrfilt.grd.
-imag[required]β GMT format file of imaginary component.-real[required]β GMT format file of real component.-alphaβ exponent for filter. Usually between0.0and1.5(0.0should not filter).- default:
0.5 [Goldstein filter](anything above1.0may be excessive)alpha < 0will setalpha = (1 - coherence)[modified Goldstein]
- default:
-psizeβ patch size for filtering. Must be power of two.- default:
32
- default:
-amp1β GMT format file of amplitude image of image 1. Needed (and applies) modified filter.-amp2β GMT format file of amplitude image of image 2. Needed (and applies) modified filter.-diffβ Calculate difference between input phase and output phase.-complex_outβ Write out filtered real and imaginary (filtphase_real.grdandfiltphase_imag.grd)-vβ Verbose.-debugβ Debug.
Example again, because the manpage said so:
example: phasefilt -imag imag.grd -real real.grd -alpha 0.5
mwah π this page is signed off with phasefilt, source/version says phasefilt phasefilt [GMTSAR] - ..., dated May 2024, and the manual name is PHASEFILT(1). bye bestie, go filter some phase β¨
π¦ where this page comes from
- debian trixie: gmtsar-core 6.5+ds-3 Β· GPL-3.0-only
- ubuntu questing: gmtsar-core 6.5+ds-3
- ubuntu resolute: gmtsar-core 6.6+ds-1build1 Β· GPL-3.0-only
- ubuntu stonking: gmtsar-core 6.7+ds-2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms