karenyyng / shear_gp

code for using GP for inferring the 2D lensing potential. Accompanying gaussian process repo is:
https://github.com/karenyyng/george
1 stars 0 forks source link

use separate variables for metric and correlation parameter #3

Open karenyyng opened 9 years ago

karenyyng commented 9 years ago

in case we use non-isotropic / non-diagonal metric later on.

karenyyng commented 9 years ago

right now the python wrapper does not even broadcast a float value set for the metric variable to a numpy array with correct dimension.

karenyyng commented 9 years ago

after latest commits the python wrapper gives hard warning that stops the code if the metric / beta is not supplied as a tuple / array / list of two floats. However, the results will be wrong if we break the assumption that the two spatial dimension share the same metric, i.e. the two floats supplied are the same.