Cheers! I’ve solved it. In case of someone need to know, i’ve solved my original problem - that it was to generate a unique file (*.csv) with statistics of the image for each image that i’ve being working on - using the adapted xml file that are posted here (An exmaple gpt command or graph/xml to run StatisticsOp?). And at my python code i’ve done a tiny modification that will be shown below.
# StatisticsOp.
arquivo_3 = area_arquivos_processados + "\\" + arquivo_1 + ".csv"
subprocess.call([
"gpt", "-e", "directory_here\\statistics-graph.xml", f"-Ssource={arquivo_2}",
f"-Pout_stats={arquivo_3}"
])
This parameters
"-PbandConfigurations=", "-PbandConfiguration=", "-PsourceBandName=Sigma0_IW2_VV"
i’ve put inside the *.xml file.04_stats_vv.xml (523 Bytes)