Welcome to the SKA SDP Continuum Imaging Pipeline (CIMG) documentation!

The SKA SDP Continuum Imaging Pipeline (CIMG) uses the Prefect workflow engine to orchestrate a basic continuum imaging pipeline using WSClean. This is a work in progress and subject to frequent changes.

A flow chart of the pipeline is shown below (click to zoom).

        flowchart LR

    input_ms1@{ shape: disk, label: "Input MS"}
    input_ms2@{ shape: disk, label: "Input MS"}
    concat_ms@{ shape: disk, label: "Concatenated MS"}
    solutions@{ shape: disk, label: "Gain Table (DDE)"}
    facet_regions@{ shape: disk, label: "Facet Regions"}
    config@{ shape: doc, label: "Configuration"}


    subgraph cimg["Continuum Imaging (CIMG)"]
        configure@{ shape: rect, label: "Configure pipeline" }
        image@{ shape: rect, label: "Run WSClean"}
        stack@{ shape: rect, label: "Stack images" }
        concat@{ shape: rect, label: "Concatenate <br> (if more than one Input MS)" }
    end

    image_cube@{ shape: disk, label: "Image cube"}
    images@{ shape: disk, label: "Images"}

    config --> configure --> concat
    input_ms1 & input_ms2 --> concat --> concat_ms
    concat_ms & solutions & facet_regions --> image
    image --> images
    image -.-> stack -.-> image_cube

    style stack fill:stroke-width:2px,stroke-dasharray: 5 5
    style image_cube fill:stroke-width:2px,stroke-dasharray: 5 5
    style input_ms2 fill:stroke-width:2px,stroke-dasharray: 5 5
    style concat fill:stroke-width:2px,stroke-dasharray: 5 5
    style concat_ms fill:stroke-width:2px,stroke-dasharray: 5 5