dfm / george

Fast and flexible Gaussian Process regression in Python
http://george.readthedocs.io
MIT License
450 stars 128 forks source link

White noise bounds #167

Closed bzaire closed 8 months ago

bzaire commented 8 months ago

Hi,

I couldn't figure out how to set the bound for the white_noise parameter using George. When I do something like:

gp = george.GP(kernel, white_noise=np.log(init_sig**2), fit_white_noise=True) gp.parameter_bounds

the bounds for the white noise are set to (None, None) by default. Can we update/set the bounds somehow?

bzaire commented 8 months ago

I think I got the answer; we can modify the bounds after setting the GP doing:

gp.white_noise.parameter_bounds = {}