bd-j / forcepho

Generative modeling galaxy photometry for JWST
https://forcepho.readthedocs.io
19 stars 4 forks source link

resources #15

Closed bd-j closed 4 years ago

bd-j commented 5 years ago

use pkg_resources to store sersic (and default PSF) mixtures within the package.

bd-j commented 4 years ago

pkg_resources doesn't work because pycuda takes an include directory. However, #41 solves this by installing package data to a particular sub-directory and using __file__ to get the absolute path after install.