This is the This is the Public Open Source repository for PolSARproSim+, an ANSI-C based software to simulate SAR/PolSAR/PolInSAR/TomoSAR echoes from forests.
<dir>/src: This folder contains the c-source files<dir>/include: This folder contains the c-header files<dir>/bin: this folder should contain the simulator binary:pspsimonce compiled<dir>/docs: This contains documentation, including ppt slides from conferences<dir>/example: This folder contains files needed to run an example simulation
The code can be compiled two ways, using make or the meson build system
- In
<dir>type$ meson setup builddir$ cd builddir$ ninjaor$ meson compilewill put binary inbuilddir, add it to your bash path
- meson (https://mesonbuild.com/) and ninja are available on pip/conda etc.
- In
<dir>/src: simply type$ make install. If successful you should havepspsimin<dir>/bin
- add
<dir>/binto your bash path - requires libxml, and lpthreads and path to those libraries might need to be updated in the Makefile
- To run simply type
$ pspsim. This will tell you how to use it.- To run the example:
$ cd <dir>/example$ pspsim run1.sar <prefix> <outputdir>. This will put simulated SLC images and ancilliary data in<outputdir>
- To run the example: