recipe — Executes a pre-defined ADMIT recipe (script).

This module implements a uniform interface for executing pre-defined ADMIT recipes.

admit.recipes.recipe.recipe(*args, **kwargs)[source]

Function to run an ADMIT recipe. The parameters are passed without any keywords. The first parameter must be the name of the recipe and subsequent parameters the arguments of that recipe in order.

Parameters:

recipe_name: str

The name of the recipe

args

The rest of the keyword-less arguments

kwargs

Any keywords this recipe understand

Notes

Example: admit.recipe(“LineMoment”,”test0.fits”)
admit.recipe(“LineMoment”,”test0.fits”,minchan=10)