olebole / python-cpl

Python bindings for CPL recipes
http://pypi.python.org/pypi/python-cpl
GNU General Public License v2.0
10 stars 5 forks source link

Example of using CPL routines directly #6

Closed ivh closed 9 years ago

ivh commented 9 years ago

I suspect this is beyond the scope and purpose of python-cpl, but I hope you forgive my asking anyway: Is there a way to use CPL-internal functions directly from Python scripts, i.e. without a recipe? If this is possible, could you include an example in the documentation?

I want to test certain CPL-routines with fake data and doing this from Python scripts directly would save me some effort.

olebole commented 9 years ago

Python-cpl is designed to run recipes only; so you would need to wrap the routine into a recipe. Depending on your needs, this may be however simple -- you could take the test recipe as an example.

ivh commented 9 years ago

Ok, thanks!