Sunspot detection

Warning: this context is a very incomplete experiment. The idea is to define a workflow in Leibniz whose execution produces an equivalent Python script. This may actually not be such a good idea, but more importantly, it definitiely doesn't work at the moment!
The sunspot detection example is taken from the MOOC "Reproducible Research II: Practices and tools for managing computations and data"

Uses
- Workflows

The goal of this workflow is to count the number of sunspots in a whiteLightImage of the sun. See White-light images of the sun for a detailed description of the input data. The input to this workflow is thus a file(whiteLightImage) (uses White-light images of the sun).

The first processing step consists of reading an image file and normalizing the image data . Images are available in various resolutions and contrast ranges, which needlessly complicate numerical analyses. The step dataNormalization (defined in Data normalization) ensures that the subsequent steps are performed on images with a resolution of 1024 x 1024 pixels and a depth of 12 bits per pixel.

The second processing step is solarDisk, defined in Locating the solar disk.

The third processing step is limbDarkeningCompensation. It corrects for the variable brightness across the solar disk that results from the geometry of the observation. See Limb darkening compensation for a detailed explanation.