dfm / george

Fast and flexible Gaussian Process regression in Python

Home Page:http://george.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding custom kernel issue

allisony opened this issue · comments

I'm following the instructions here (https://george.readthedocs.io/en/latest/tutorials/new-kernel/#kernel-specification) for adding a new kernel. I've saved a .yml file in /george/kernels/ and recompiled george, but the new kernel isn't showing up under george.kernels. Are there other instructions somewhere? Or any idea what I'm doing wrong?

It looks like you'll now need to run python generate_kernels.py in the root directory of the repo first. That's not documented, but it should do the trick! You might need to run the following to install dependencies first:

conda install pyyaml jinja2

Yes, that worked (I already had pyyaml and jinja2 installed). Thanks so much!