How do I create an IRAF task that calls a Python function?
It is possible to define a Python function that is works just like any other IRAF task. It has parameters that have specific types (integer, string, etc.), are learned and persist between sessions, can be edited with epar, prompt for values, etc. Here is an example. Create two files, pytestmodule.py and pytest.par. pytest.
It is possible to define a Python function that is works just like any other IRAF task. It has parameters that have specific types (integer, string, etc.), are learned and persist between sessions, can be edited with epar, prompt for values, etc. Here is an example. Create two files, pytestmodule.py and pytest.par.