I hereby claim:
- I am rikrd on github.
- I am ricard (https://keybase.io/ricard) on keybase.
- I have a public key whose fingerprint is F9B3 89CC 1199 F243 D1FA 0A15 E414 FD5F 1872 F480
To claim this, I am signing this object:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
/* | |
** Copyright (C) 2020 Ricard Marxer | |
** | |
** This program is free software; you can redistribute it and/or modify | |
** it under the terms of the GNU General Public License as published by | |
** the Free Software Foundation; either version 3 of the License, or |
I hereby claim:
To claim this, I am signing this object:
%pylab inline | |
import numpy as np | |
import pylab as plt | |
import GPy | |
import re | |
def get_equation(kern): | |
match = re.search(r'(math::)(\r\n|\r|\n)*(?P<equation>.*)(\r\n|\r|\n)*', kern.__doc__) | |
return '' if match is None else match.group('equation').strip() |