Modules#

Sarcomp follows a consistent set of conventions for its data handling. In the context of Synthetic Aperture Radar (SAR) processing, the azimuth dimension (or the along-track direction) is referred to as sx, and is considered the first dimension. The range (or cross-track or radial line-of-sight) dimension is referred to as sy, and is considered the second dimension.

Sometimes, you may find nx and ny used in place of sx and sy. This notation represents the zero-padded power of 2 representation of sx and sy. For instance, if sx equals 2010, then nx would be its nearest power of 2, i.e., 2048.

Sarcomp dimensions

The following modules are currently implemented in Sarcomp:

Multi-Core / Multi-Thread Processing#

Sarcomp supports multi-core and multi-thread processing through OpenMP. You can set the number of threads used by Sarcomp by exporting an environment variable, OMP_NUM_THREADS. Here is an example of how to set this variable in a Unix-like system:

export OMP_NUM_THREADS=4

This command sets OMP_NUM_THREADS to 4, instructing OpenMP to use 4 threads. Adjust the number as needed for your system and workload.

Integration in Caramba#

Sarcomp is currently integrated in the following Caramba workflows:

If you wish to use Sarcomp within Caramba, you need to set the CARAMBA_USE_SARCOMP environment variable to 1. You can do this by executing the following command in your terminal:

export CARAMBA_USE_SARCOMP=1