I am unable to obtain a script that uses PixelMath

I have uploaded the material that I want to convert into a Python script. I cannot find information in the documentation on how to do this.

Additionally, when trying to select the channel with the lowest median using:
stats = siril.get_image_stats(0)
print(stats.mean)

It returns “None”.

Can you help me with this?

Hello, line 88 you have an example of the pixelmath command: scripts/OSC_Extract_HaOIII.ssf · master · FA / Siril · GitLab