Deconstructing an imager #59
landmanbester
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Workers
The idea is to create a flexible imaging framework where different steps (eg. gridding, deconvolution or image restoration etc.) are defined as workers and strung together using stimela recipes.
pfb-clean
uses click to create a cli for each worker so that they can also be run individually. The main (by which I mean sort of mature enough for testing) worker functions are defined under the command grouppfb
and can be listed usingHelp for each worker (eg. the
clean
worker) can be found by invoking the help for that workerThis currently serves as the main interface for documenting functionality.
Stimela
To string workers together, we use the internally defined stimela cabs and execute them through a stimela recipe. A simple example recipe implementing single scale clean can be found at ssclean. Note that it is possible to expose only a subset of the full worker inputs through the stimela recipe inputs. This is an attempt to avoid bombarding users with parameters that they may not need (or need not worry about). For example, help for the ssclean recipe can be viewed by running (compare this to the parameters of each worker through the cli interface)
The recipe can be executed using e.g.
It is also possible to only execute a subset of the steps by using the
-s
option e.g.will execute everything from the clean step onwards.
Beta Was this translation helpful? Give feedback.
All reactions