[repo] kind = "recipe" [[stages]] name = "background" description = "Do background subtraction with graxpert" role = "background" tool.name = "graxpert" tool.parameters = { ai_version = "{parameters.ai_version}", smoothing_option = "{parameters.smoothing_option}" } # or inline python code can be provided here. In this case I'm using some python # code I'm temporarily sharing from the main project... script = [ "-cmd", "background-extraction", "-output", "{output.full_paths[0]}", "{input[0].full_paths[0]}" ] [[stages.inputs]] kind = "job" # Note: if name is not specified, the first input will be named 0, second 1, etc. after = "crop" # the name of the step we want to follow (FIXME, it should be just stack.* - currently we are limiting) # graxpert/veralux to just simple non duo OSC multiplex = true # multiplex is like "job" but multiple tasks are created, one per input file from prior stage [[stages.inputs.requires]] kind = "min_count" value = 1 # At this point if we don't have any valid inputs, reject this stage from consideration [[stages.outputs]] kind = "processed" auto.prefix = "bk_" # name = [ "background.fits" ] # other options: obj-devconv 1.0.1, stars decov 1.0.0, denoise 3.0.2 # We now auto select output files based on the input file names [[stages.parameters]] name = "smoothing_option" default = 0.5 # Value used if not overriden description = "Smoothing option for graxpert background extraction" [[stages.parameters]] name = "ai_version" default = "1.0.1" description = "AI version for graxpert background extraction"