This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
ideas_page [2019/03/09 22:52] wkerzend |
ideas_page [2019/03/10 21:32] wkerzend |
||
---|---|---|---|
Line 166: | Line 166: | ||
**Your first objective if you choose to accept the mission:** Use dask to run distributed TARDIS instances in parallel on your system. Use http://distributed.dask.org/en/latest/client.html as a guide to make a simple example. | **Your first objective if you choose to accept the mission:** Use dask to run distributed TARDIS instances in parallel on your system. Use http://distributed.dask.org/en/latest/client.html as a guide to make a simple example. | ||
+ | |||
+ | ==== Improve the C/Python interface ==== | ||
+ | |||
+ | **Difficulty:** Hard | ||
+ | |||
+ | **Astronomy knowledge needed:** None | ||
+ | |||
+ | **Mentors:** Wolfgang Kerzendorf, Christian Vogl | ||
+ | |||
+ | **Programming skills:** python, cython | ||
+ | |||
+ | |||
+ | **GSoC Application Tag:**c_interface | ||
+ | |||
+ | **Description:** TARDIS is a hybrid code built on C/Cython/Python. Currently, there is a lot of interface code to port the python data structures from Python via Cython to C. This makes the code cumbersome to test and try out new things. There are now several new ways that promise to make this easier. We want to try to use cFFI and Apache Arrow to do this. | ||
+ | |||
+ | **Your first objective if you choose to accept the mission:** use cFFI to provide an automatic interface for testing the parts in the montecarlo package instead of ctypes. | ||