Re: python import xspec models

From: Michael Noble <mnoble_at_email.domain.hidden>
Date: Thu, 8 Jan 2009 13:23:44 -0500
> Is anyone familiar with modules or scripts to import XSPEC models into python?

Not sure any exist, but in principle you should be able to do this
with f2py (for models implemented in Fortran) or SWIG (for models
implemented in C/C++).  Wrappers will be generated for the routines
& functions in the .f, .c, and .c++ code, allowing you to call them
directly from Python-scoped scripts.

Hope This Helps,
Mike
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Thu Jan 08 2009 - 13:25:30 EST

This archive was generated by hypermail 2.2.0 : Thu Jan 08 2009 - 14:07:02 EST