# ComputeModulusAndPhase

## Brief Description

Read one or two files and compute the module and the phase

## Tags

SAR

## Long Description

This application computes the modulus and the phase of a complex SAR data. This complex SAR data could be provided as a monoband complex pixel type image or a 2 bands real pixel type image or two monobands (first one real part and second one imaginary part) real pixel type images.

## Parameters

- [param] -mod <string> Modulus of the input: sqrt(real*real + imag*imag).. Mandatory: True. Default Value: ""
- [param] -pha <string> Phase of the input: atan2(imag, real).. Mandatory: True. Default Value: ""
- [param] -ram <int32> Available memory for processing (in MB). Mandatory: False. Default Value: "128"
[choice] -nbinput Choice about the number of input files used to store the real and imaginary part of the SAR image one,two. Mandatory: True. Default Value: "one"

- [group] -one

- [param] -nbinput.one.in <string> Image file with SAR data.. Mandatory: True. Default Value: ""

- [group] -two

- [param] -nbinput.two.re <string> Image file with real part of the SAR data.. Mandatory: False. Default Value: ""
- [param] -nbinput.two.im <string> Image file with imaginary part of the SAR data.. Mandatory: False. Default Value: ""

## Limitations

None

## Authors

Alexia Mondot (alexia.mondot@c-s.fr) and Mickael Savinaud (mickael.savinaud@c-s.fr)

## See Also

## Example of use

- nbinput.one.in: monobandComplexFloat.tif

- mod: modulus.tif

- pha: phase.tif