public class GaussianFit.GaussianNegLogLikelihood extends Object implements org.apache.commons.math3.analysis.MultivariateFunction
Constructor and Description |
---|
GaussianNegLogLikelihood(double[] photoncharge,
PixelSet pixelSet,
double[] pixel_x,
double[] pixel_y) |
public GaussianNegLogLikelihood(double[] photoncharge, PixelSet pixelSet, double[] pixel_x, double[] pixel_y)
photoncharge
- double array containing the photoncharge for each pixelpixelSet
- int array containing all pixel chids for the pixel that survived cleaningpixel_x
- double array containing the x coordinates for all pixelpixel_y
- double array containing the y coordinates for all pixelpublic double value(double[] point)
value
in interface org.apache.commons.math3.analysis.MultivariateFunction
point
- a double array with length 4 containing r, x, y, sigma in this orderCopyright © 2019. All rights reserved.