gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #13786] Usable libraries for other languages (maybe using SWIG)


From: Mohammad Akhlaghi
Subject: [task #13786] Usable libraries for other languages (maybe using SWIG)
Date: Thu, 19 Mar 2020 09:59:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Follow-up Comment #6, task #13786 (project gnuastro):

As you have cited, the core of the work is writing a function to convert
`gal_data_t' to Numpy's data container structure
<https://docs.scipy.org/doc/numpy/reference/c-api.html>.

Then functions that are called by Python can follow this scenario: call this
function to convert the data container (without changing the array pointers
ideally: to allocate more space), call the Gnuastro library functions in any
specific order, then convert them back to Numpy's data container and return it
to Numpy/Python.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?13786>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]