public class LightDistributionFit.LightDistributionNegLogLikelihood extends Object implements org.apache.commons.math3.analysis.MultivariateFunction
| Constructor and Description |
|---|
LightDistributionNegLogLikelihood(double[] photoncharge,
int[] cleaning_pixel) |
| Modifier and Type | Method and Description |
|---|---|
double |
gauss_density(double x,
double mean,
double std) |
double |
photon_expectance_pixel(int chid,
double r,
double x,
double y,
double sigma,
double rho,
double phi,
double eps) |
double |
radius2theta(double radius) |
double |
value(double[] point) |
public LightDistributionNegLogLikelihood(double[] photoncharge,
int[] cleaning_pixel)
photoncharge - double array containing the photoncharge for each pixelcleaning_pixel - int array containing all pixel chids for the pixel that survived cleaningpublic double value(double[] point)
value in interface org.apache.commons.math3.analysis.MultivariateFunctionpoint - a double array with length 4 containing r, x, y, sigma in this orderpublic double gauss_density(double x,
double mean,
double std)
public double radius2theta(double radius)
public double photon_expectance_pixel(int chid,
double r,
double x,
double y,
double sigma,
double rho,
double phi,
double eps)
Copyright © 2019. All rights reserved.